Create Secret

Create a secret from its name and value or from a JSON specification.

Syntax

create secret { <secret name> | <secret spec> } with value { "<secret value>" | """<secret value>""" }
create secret <secret spec>

Parameters

secret name

String. The name of the secret to create.

secret value

String. The value to be stored as a secret.

secret spec

JSON. A specification for the secret to create.

Security

Restricted to organization admins.

Was this article helpful?
0 out of 0 found this helpful