Secret¶
rio secret¶
Credentials for Git Hosting or Container Registries
rio secret [OPTIONS] COMMAND [ARGS]...
create¶
Creates a new instance of secret
rio secret create [OPTIONS] SECRET_NAME
Options
- -t, --secret-type <secret_type>¶
Type of Secret
- Options
docker | source
- --username <username>¶
Docker registry username for docker secret, Git username for source secret
- -p, --password <password>¶
Password (only for docker and source with basic auth)
- --email <email>¶
Email ID for Docker registry
- --registry <registry>¶
Docker Registry URL for Docker secret [Default: Docker Hub]
- --ca-cert <ca_cert>¶
Path of CA Certificate (only for source with basic auth)
- --ssh-priv-key <ssh_priv_key>¶
Path of SSH Key (only for source with ssh auth)
Arguments
- SECRET_NAME¶
Required argument
delete¶
Deletes the secret resource from the Platform
rio secret delete [OPTIONS] SECRET_NAME
Options
- -f, --force, --silent¶
Skip confirmation
Arguments
- SECRET_NAME¶
Required argument
import¶
Imports the secrets from the user environment
rio secret import [OPTIONS] COMMAND [ARGS]...
docker¶
Imports the authentication tokens for the configured registries
rio secret import docker [OPTIONS]
ssh¶
Imports the selected private SSH keys from the ~/.ssh directory
rio secret import ssh [OPTIONS]
inspect¶
Inspect the secret resource
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
- -t, --secret-type <secret_type>¶
Types to filter the list of Secret [default: docker,source]