Secret

rio secret

Credentials for Git Hosting or Container Registries

rio secret [OPTIONS] COMMAND [ARGS]...

delete

Delete one or more secrets with a name or a regex pattern.

You can specify a secret name or a regex pattern to delete one or more deployment.

If you want to delete all the secrets, then simply use the --all flag.

If you want to delete secrets without confirmation, then use the --force or --silent or -f

Usage Examples:

Delete a secret by name

$ rio secret delete SECRET_NAME

Delete a secret without confirmation

$ rio secret delete SECRET_NAME –force

Delete all secrets in the project

$ rio secret delete –all

Delete secrets using regex pattern

$ rio secret delete “SECRET_NAME.*”

rio secret delete [OPTIONS] [SECRET_NAME_OR_REGEX]

Options

-f, --force, --silent

Skip confirmation

-a, --all

Deletes all secrets in the project

-w, --workers <workers>

Number of parallel workers while running delete secret command. Defaults to 10.

Arguments

SECRET_NAME_OR_REGEX

Optional argument

inspect

Inspect a secret

rio secret inspect [OPTIONS] SECRET_NAME

Options

-f, --format <format_type>
Options:

json | yaml

Arguments

SECRET_NAME

Required argument

list

List the secrets in the selected project

rio secret list [OPTIONS]

Options

-l, --label <labels>

Filter the deployment list by labels