dcos security secrets create


Creating and storing a secret


The dcos security secrets create command allows you to create and store secrets under a specific path.


dcos security secrets create [OPTIONS] PATH


Name Description
-h, --help Show this message and exit.
-s, --store-id <text> Secrets backend to use.
-v, --value <text> Value of the secret.
-t, --text-file, --value-file <filename> Treat contents of the file as value of the secret. The contents are assumed to be text encoded via UTF-8.
-f, --file <filename> Use the raw file contents as the value of the secret: pass the unmodified byte sequence to DC/OS Secrets service.

Positional Arguments

Name Description
PATH URL or IP address of path of secret.

Parent command

Command Description
dcos security secrets Manage your secrets.