Apolo
HomeConsoleGitHub
  • Apolo concepts
  • CLI Reference
  • Examples/Use Cases
  • Flow CLI
  • Actions Reference
  • Apolo Extras CLI
  • Python SDK
  • Introduction
  • Commands
    • acl
    • admin
    • app
    • app-template
    • blob
    • completion
    • config
    • disk
    • image
    • job
    • secret
    • service-account
    • shortcuts
    • storage
  • Topics
    • Custom command aliases
    • Format for column specification
    • Using secrets
    • Using the sharing functionality
    • Format for column specification
    • User configuration files
Powered by GitBook
On this page
  • Usage
  • add
  • ls
  • rm

Was this helpful?

  1. Commands

secret

Operations with secrets

Usage

apolo secret [OPTIONS] COMMAND [ARGS]...

Operations with secrets.

Commands:

Usage
Description

Add secret KEY with data VALUE

List secrets

Remove secret KEY

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

Name
Description

--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

Name
Description

--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

Name
Description

--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).

PreviousjobNextservice-account

Last updated 2 months ago

Was this helpful?

add
ls
rm