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

ti fs-vault delete-secret



Deletes one Filesystem Vault secret.

Syntax

ti fs-vault delete-secret --secret-name <string> [--dry-run] [--file-system-id <string>] [--fs-token <string>] [--help] [--version]

Options

  • --secret-name <string>: Vault secret name. [required]
  • --dry-run: Validate the request without applying changes.
  • --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.
  • --version: Display version information.

For options shared by all commands, see Global options.

Examples

  • Delete a secret:

    # Remove the selected secret and its fields from the Vault. ti fs-vault delete-secret --file-system-id <file-system-id> --secret-name db-prod

Was this page helpful?