secret
Operations with secrets
Usage
apolo secret [OPTIONS] COMMAND [ARGS]...
Operations with secrets.
Commands:
add
Add secret KEY with data VALUE
Usage
apolo secret add [OPTIONS] KEY VALUE
Add secret KEY
with data VALUE
.
If VALUE
starts with @ it points to a file with secrets content.
Examples
$ apolo secret add KEY_NAME VALUE
$ apolo secret add KEY_NAME @path/to/file.txt
Options
--help
Show this message and exit.
--cluster CLUSTER
Perform on a specified cluster (the current cluster by default).
--org ORG
Look on a specified org (the current org by default).
--project PROJECT
Look on a specified project (the current project by default).
ls
List secrets
Usage
apolo secret ls [OPTIONS]
List secrets.
Options
--help
Show this message and exit.
--all-orgs
Show secrets in all orgs.
--all-projects
Show secrets in all projects.
--cluster CLUSTER
Look on a specified cluster (the current cluster by default).
--full-uri
Output full secret URI.
--org ORG
Look on a specified org (the current org by default).
--project PROJECT
Look on a specified project (the current project by default).
rm
Remove secret KEY
Usage
apolo secret rm [OPTIONS] KEY
Remove secret KEY
.
Options
--help
Show this message and exit.
--cluster CLUSTER
Perform on a specified cluster (the current cluster by default).
--org ORG
Look on a specified org (the current org by default).
--project PROJECT
Look on a specified project (the current project by default).
Last updated
Was this helpful?