_nifectl secrets_
Manage application secrets with the create and delete commands.
About
Secrets are provided to applications at runtime as ENV variables. Names are case sensitive and stored as-is, so ensure names are appropriate for the application and vm environment.
Usage
nifectl secrets [command] [flags]
Available Commands
- create - Create the secret
- delete - Delete the secret
- list - Lists the secrets available to the App
- update - Update the secret
Options
Flags:
-a, --app string App name to operate on
-c, --config string Path to an app config file or directory containing one (default "./nife.toml")
-h, --help help for secrets
Global Options
-t, --access-token string Nife API Access Token
-j, --json json output
See Also
- nifectl - The Nife CLI
nifectl secrets create
Creates a secret as an environment variable or a registry type as a Key Value pair. The actual value of the secret is only available to the application.
Usage
nifectl secrets create [flags]
Options
Flags:
-h, --help help for create
Global Options
-t, --access-token string Nife API Access Token
-j, --json json output
nifectl secrets delete
Deletes the secrets available to the application.
Usage
nifectl secrets [flags]
Options
Flags:
-h, --help help for delete
-y, --yes Accept all confirmations
Global Options
-t, --access-token string Nife API Access Token
-j, --json json output
nifectl secrets list
List the secrets available to the application with --all option. It shows each secret's name, a digest of the its value and the time the secret was last set. The actual value of the secret is only available to the application.
Usage
nifectl secrets list [flags]
Options
Flags:
-a, --app string App name to operate on
-c, --config string Path to an app config file or directory containing one (default "./nife.toml")
-h, --help help for secrets
Global Options
--all
-h, --help help for list
nifectl secrets update
Updates the secrets available to the application. It shows each secret's name, a digest of the its value and the time the secret was last set. The actual value of the secret is only available to the application.
Usage
nifectl secrets update [flags]
Options
Flags:
-h, --help help for update
Global Options
-t, --access-token string Nife API Access Token
-j, --json json output