sqd secrets
Manage account secrets
The secrets are exposed as environment variables, and are accessible to all the squids deployed by the current Subsquid Cloud account.
All sqd secrets
commands require specifying an organization with the -o/--org
flag when invoked by accounts with more than one organization. Subsquid Cloud users with just one organization can omit this flag.
sqd secrets:ls
List all secrets for the current Subsquid Cloud account
USAGE
$ sqd secrets:ls [-o <value>]
ARGUMENTS
NAME The secret name
See code: src/commands/secrets/ls.ts
sqd secrets:rm NAME
Remove a secret
USAGE
$ sqd secrets:rm NAME [-o <value>]
ARGUMENTS
NAME The secret name
See code: src/commands/secrets/rm.ts
sqd secrets:set NAME VALUE
Create or update a secret. The secret will be exposed as an environment variable with the given name to all the squids. Note the changes take affect only after a squid is restarted or updated.
USAGE
$ sqd secrets:set NAME VALUE [-o <value>]
ARGUMENTS
NAME The secret name
VALUE The secret value
See code: src/commands/secrets/set.ts