📣
TiDB Cloud Premium is now in public preview. Unlimited growth, instant elasticity, advanced security for enterprise workloads. Try it out →

ti fs-vault list-secrets



Lists secrets visible to the active owner or delegated credential.

Syntax

ti fs-vault list-secrets [--file-system-id <string>] [--fs-token <string>] [--help] [--vault-token <string>] [--version]

Options

  • --file-system-id <string>: Select the file system. You can also set TI_FS_FILE_SYSTEM_ID.
  • --fs-token <string>: Set the file system user token. If omitted, uses TI_FS_TOKEN.
  • --help: Display help information.
  • --vault-token <string>: Delegated ti fs-vault token; prefer TI_VAULT_TOKEN.
  • --version: Display version information.

For options shared by all commands, see Global options.

Examples

  • List owner-visible secrets:

    # Return secret metadata without exposing field values. ti fs-vault list-secrets --file-system-id <file-system-id>
  • List secrets visible to a delegated token:

    # Restrict the result to secrets within the token's granted scope. ti fs-vault list-secrets --file-system-id <file-system-id> --vault-token "$TI_VAULT_TOKEN"

Was this page helpful?