list
Options
Filter JSON output with a jq expression; implies —output json (or jsonl for streamed commands)
Output formatOne of:
text, json, jsonl, noneUse a specific stored profile for this command, overriding BASETEN_PROFILE and the current profile
Filter to a specific team by name or ID. Defaults to all teams the caller belongs to.
Enable verbose logging
Examples
List secrets across all accessible teamsFilter output with --jq
Print just the secret names
Output
Text mode (--output text): Table with columns: NAME, TEAM, CREATED. When no secrets exist, prints “No secrets found.” to stderr.
JSON mode (--output json): payload type managementapi.Secrets.
set
--value is supported but discouraged: it leaks the secret into shell history and ps output. Pass --team to target a specific team; without it the organization’s default team is used.
Options
Filter JSON output with a jq expression; implies —output json (or jsonl for streamed commands)
Name of the secret.
Output formatOne of:
text, json, jsonl, noneUse a specific stored profile for this command, overriding BASETEN_PROFILE and the current profile
Team name or ID the secret belongs to. Defaults to the organization’s default team.
Secret value. Discouraged: leaks into shell history and process list. Prefer stdin or prompt.
Enable verbose logging
Examples
Set a secret by piping its value through stdinFilter output with --jq
Print the secret’s team
Output
Text mode (--output text): Prints “Set secret name” to stderr on success; no stdout output.
JSON mode (--output json): payload type managementapi.Secret.
delete
Options
Filter JSON output with a jq expression; implies —output json (or jsonl for streamed commands)
Name of the secret to delete.
Output formatOne of:
text, json, jsonl, noneUse a specific stored profile for this command, overriding BASETEN_PROFILE and the current profile
Team name or ID the secret belongs to. Defaults to the organization’s default team.
Enable verbose logging
Examples
Delete a secret by nameFilter output with --jq
Print just the deleted secret name
Output
Text mode (--output text): Prints “Deleted secret name” to stderr on success; no stdout output.
JSON mode (--output json): payload type managementapi.SecretTombstone.