Skip to main content
The secrets command group helps you manage sensitive information for your agent deployments. You can create and manage secret sets (key-value pairs) and image pull secrets (for private Docker registries).

list

List secret sets and image pull secrets for active namespace / organization. Each row includes a readiness status (ready, pending, or failed). If provided with a valid secret set name, will show the keys of that set alongside its status (values are hidden). Usage:
pipecat cloud secrets list [ARGS] [OPTIONS]
Arguments:
name
string
Name of the secret set list keys for. Must be a valid string identifier.
Options:
--sets / -s
boolean
default:"true"
Show secret sets only. Filter out image pull secrets from the results.
--organization / -o
string
Organization to list secrets for. If not provided, uses the current organization from your configuration.
--region / -r
string
Filter secrets by region. Only secrets in the specified region will be shown. If not provided, secrets from all regions are listed.

set

Create or update a secret set with the given name and key-value pairs. Secrets can be passed directly as key value pairs or loaded from a file. Usage:
pipecat cloud secrets set [ARGS] [OPTIONS]
Arguments:
name
string
required
Name of the secret set to create or modify. Must be a valid string identifier containing only characters, numbers, and hyphens.
secrets
string
List of secret key-value pairs e.g. KEY1=value1 KEY2="value with spaces".See this note on using special characters in secret values.Example:
pipecat cloud secrets set my-secrets 'API_KEY=123 API_KEY_2="value with spaces"'
Options:
--file / -f
string
Relative path to a file with a list of secret key-value pairs. Each line in the file should be in the format KEY=value.Example:
pipecat cloud secrets set my-secrets --file .env
--skip / -s
boolean
default:"false"
Skip confirmations and proceed with the operation.
--organization / -o
string
Organization to create/update the secret set in. If not provided, uses the current organization from your configuration.
--region / -r
string
Region where the secret set will be stored. If not specified, uses your organization’s default region (typically us-west). Secrets must be in the same region as the agents that use them.
Example: Create a secret set in a specific region:
pipecat cloud secrets set my-secrets API_KEY=abc123 --region eu-central

unset

Removes a specific secret key from a secret set. Usage:
pipecat cloud secrets unset [ARGS] [OPTIONS]
Arguments:
name
string
required
Name of the secret set to remove the secret from.
secret_key
string
required
The key of the secret to remove from the set.
Example:
pipecat cloud secrets unset my-secret-set SOME_KEY
Options:
--skip / -s
boolean
default:"false"
Skip confirmations and proceed with the operation.
--organization / -o
string
Organization containing the secret set. If not provided, uses the current organization from your configuration.

delete

Deletes an entire secret set. Usage:
pipecat cloud secrets delete [ARGS] [OPTIONS]
Arguments:
name
string
required
Name of the secret set to delete. This action is irreversible.
Options:
--skip / -s
boolean
default:"false"
Skip confirmations and proceed with the operation.
--organization / -o
string
Organization containing the secret set. If not provided, uses the current organization from your configuration.

image-pull-secret

Creates or updates credentials for pulling images from private Docker registries. This command accepts image repository credentials as username:password, base64-encodes them, and securely stores them. These credentials are used with the deploy command when pulling images from private repositories. If a secret with the same name already exists, its credentials will be updated in place. If you don’t provide credentials directly, the command will prompt you for input. Usage:
pipecat cloud secrets image-pull-secret [ARGS] [OPTIONS]
Arguments:
name
string
required
Name of the credentials set to create or modify. Must be a valid string identifier.
host
string
required
Host address of the image repository e.g. https://index.docker.io/v1/.
credentials
string
default:"prompts for input"
Credentials for the image repository in the form of username:password.Will prompt you for the value if not provided.Example:
pipecat cloud secrets image-pull-secret my-registry-creds https://index.docker.io/v1/ my-username:my-password
Options:
--encode
boolean
default:"true"
Encode the credentials in base64 format. This is enabled by default.
--organization / -o
string
Organization to create the image pull secret in. If not provided, uses the current organization from your configuration.
--region / -r
string
Region where the image pull secret will be stored. If not specified, uses your organization’s default region (typically us-west). Image pull secrets must be in the same region as the agents that use them.
Examples: Create an image pull secret in a specific region:
pipecat cloud secrets image-pull-secret my-registry-creds https://index.docker.io/v1/ --region eu-central

More about secrets

Learn more about managing application secrets