dcos security secrets create

ENTERPRISE

Creating and storing a secret

Description

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

Usage

  1. dcos security secrets create [OPTIONS] PATH

Options

NameDescription
-h, —helpShow 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

NameDescription
PATHURL or IP address of path of secret.

Parent command

CommandDescription
dcos security secretsManage your secrets.