DOKK / manpages / debian 11 / cdist / cdist-type__docker_secret.7.en
CDIST-TYPE__DOCKER_SECRET(7) cdist CDIST-TYPE__DOCKER_SECRET(7)

cdist-type__docker_secret - Manage Docker secrets

This type manages Docker secrets.

Path to the source file. If it is '-' (dash), read standard input.
'present' or 'absent', defaults to 'present' where:
if the secret does not exist, it is created
the secret is removed


Since Docker secrets cannot be updated once created, this type takes no action if the specified secret already exists.

# Creates "foo" secret from "bar" source file
__docker_secret foo --source bar


Ľubomír Kučera <lubomir.kucera.jr at gmail.com>

Copyright (C) 2018 Ľubomír Kučera. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

ungleich GmbH 2020

February 7, 2021 6.9.4