carta
cdist-type__docker_secret(7)

cdist-type__docker_secret7

Manage docker secrets

Overview

This type manages Docker secrets.

Optional parameters

source

Path to the source file. If it is '-' (dash), read standard input.

state

'present' or 'absent', defaults to 'present' where:

present

if the secret does not exist, it is created

absent

the secret is removed

Caveats

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

Examples

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

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.

History

  • Debian 13 (Trixie): the text shown here
  • Debian 12 (Bookworm)
  • Debian 11 (Bullseye)
  • Debian 10 (Buster)

Authors

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

From cdist 7.0.0-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.