Home

stencila secrets delete

Delete a secret previously set using Stencila

Usage

stencila secrets delete <NAME>

Examples

# Delete a specific secret
stencila secrets delete OPENAI_API_KEY

# Delete API tokens
stencila secrets delete ANTHROPIC_API_KEY
stencila secrets delete GOOGLE_AI_API_KEY

# Use the remove alias instead
stencila secrets remove GOOGLE_AI_API_KEY

Arguments

NameDescription
<NAME>The name of the secret.

Warning

This permanently removes the secret from your system's keyring. You'll need to set it again if you want to use it in the future.

© 2026 Stencila