Example value for the config key. Should be saved encrypted in the etcd at
The easiest way is by creating a file
credentials.yml with the following content:
Create file with
- url_regex: '^https://.*/nexus/.*' username: nexusUser password: nexusPassword
url_regex: '^https://.*/scm/.*' username: scmUser password: scmPassword
- Copy file to dogu with
docker cp credentials.yml baseline:/credentials.yml
- Save content of file in etcd with
docker exec -it baseline doguctl config -e "credentials" "$(cat credentials.yml)"
- Check the content in the etcd with
docker exec -it baseline doguctl config -e "credentials". This should return the content of your credentials file.