CDIST-TYPE__DOCKER_SECRET(7)
π cdist-type__docker_secret π
okay so bestie, we're in the cdist-type__docker_secret era, and the manual it lives in is literally called CDIST-TYPE__DOCKER_SECRET(7) β very demure, very cdist core π
β¨ NAME β¨
cdist-type__docker_secret β manage Docker secrets π³π
πΈ DESCRIPTION πΈ
This type manages Docker secrets. that's it, that's the job, and it does it flawlessly π
π¦ OPTIONAL PARAMETERS π¦
sourceβ the path to the source file, bestie. and if it's'-'(a dash, yes literally just a dash) then it reads from standard input instead π₯β¨stateβ either'present'or'absent', and it defaults to'present'. here's the tea on what each one means πpresentβ if the secret does not exist yet, it gets created. iconique, we love a fresh start β¨absentβ the secret is removed. gone. ghosted. periodt π
π CAVEATS π
okay so this is the part where you need to pay attention, no cap. since Docker secrets cannot be updated once they're created, this type takes no action if the specified secret already exists. it just looks at it and goes "yeah that's already there, we're good" π. so if you're out here expecting it to update your secret, it's not gonna, and that's not a bug, that's just Docker being Docker.
π EXAMPLES π
# Creates "foo" secret from "bar" source file
__docker_secret foo --source bar
π AUTHORS π
Δ½ubomΓr KuΔera <lubomir.kucera.jr at gmail.com> β the actual legend who made this π«Ά
π COPYING π
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. fr fr, read the license, it's giving freedom πΈ
β COPYRIGHT β
ungleich GmbH 2021 β slay π
and that's a wrap bestie!! this page is from version 7.0.0, dated Jul 31, 2022, and it's the CDIST-TYPE__DOCKER_SECRET(7) manual through and through. go forth and manage those secrets, main character π§β¨
π¦ where this page comes from
- fedora 43: cdist 7.0.0-16.fc43 Β· GPL-3.0-only
- fedora 44: cdist 7.0.0-18.fc44 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms