Configuration of the Credentials
Example value for the config key should be saved encrypted in the etcd at credentials
.
The easiest way is by creating a file credentials.yml
with the following content:
- Create file with
nano credentials.yml
:
- url_regex: '^https://.*/scm/.*'
username: scmUser
password: scmPassword
- Copy file to the 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.