Manage organization 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
See code: src/commands/secrets/list.ts
sqd secrets remove NAME
Delete an organization secret in the Cloud
See code: src/commands/secrets/remove.ts
sqd secrets set NAME VALUE
Add or update an organization secret in the Cloud. The secret is exposed as an environment variable to all squids in the organization. Changes take effect only after a squid is restarted or updated.
VALUE is required by @subsquid/cli@3.3.5. Without it, the command stops with a missing-argument error instead of prompting for the value on standard input as --help describes. Piped input is used as VALUE only when it is available as soon as the command starts; the parser trims it and joins multiple lines without line breaks. Pass the value as an argument.
The value is a positional command-line argument and may be recorded in shell
history. Use the Cloud console when that is not acceptable.
See code: src/commands/secrets/set.ts