Skip to main content

sqd secrets

Manage account secrets The secrets are exposed as a context, and are accessible to all the squids deployed by the current SQD Cloud organization.

sqd secrets list

List organization secrets in the Cloud
USAGE
  $ sqd secrets list [--interactive] [-o <value>]

FLAGS
  -o, --org=<value>       Organization
      --[no-]interactive  Disable interactive mode

ALIASES
  $ sqd secrets ls
See code: src/commands/secrets/ls.ts

sqd secrets remove NAME

Delete an organization secret in the Cloud
USAGE
  $ sqd secrets remove NAME [--interactive] [-o <value>]

ARGUMENTS
  NAME  The secret name

FLAGS
  -o, --org=<value>       Organization
      --[no-]interactive  Disable interactive mode

ALIASES
  $ sqd secrets rm
See code: src/commands/secrets/rm.ts

sqd secrets set NAME VALUE

Add or update an organization secret in the Cloud. If value is not specified, it is read from standard input. The secret will be exposed as an environment variable with the given name to all the squids in the organization. NOTE: The changes take affect only after a squid is restarted or updated.
USAGE
  $ sqd secrets set NAME VALUE [--interactive] [-o <value>]

ARGUMENTS
  NAME   The secret name
  VALUE  The secret value

FLAGS
  -o, --org=<value>       Organization
      --[no-]interactive  Disable interactive mode
See code: src/commands/secrets/set.ts