Skip to main content
Skyvern provides a credential management layer that gives you a unified API to create, use, and delete credentials. Your actual secrets are never stored in Skyvern. They live in your external vault (Bitwarden by default, or 1Password, Azure Key Vault, or your own service).

How it works

When you create a credential via Skyvern’s API, two things happen: Skyvern stores metadata for easy lookup: credential names, IDs like cred_xyz789, usernames, and non-sensitive identifiers (like the last 4 digits of a card). This lets you list and manage credentials without exposing secrets. Your vault stores the secrets: passwords, TOTP keys, full card numbers, and API tokens. Skyvern only retrieves these at runtime when needed, then discards them immediately after use. This gives you:
  • Friendly IDs: Reference credentials by cred_xyz789 instead of vault-specific item IDs
  • Vault abstraction: Switch between Bitwarden, Azure, or custom vaults without changing your code
  • Security by design: Secrets never appear in logs, API responses, or LLM prompts

Credential types

Skyvern supports three credential types, each designed for specific use cases.

Password credentials

Store usernames, passwords, and optional TOTP secrets for website logins.

Credit card credentials

Store payment information for checkout automations. Skyvern only stores the last 4 digits in metadata for identification.
Supported card brands: visa, mastercard, amex, discover

Secret credentials

Store API keys, tokens, or other sensitive strings for use in HTTP Request blocks or custom integrations.

Vault integrations

Skyvern integrates with external password managers so credentials never leave your infrastructure.

Bitwarden

Connect Skyvern to your Bitwarden organization to use existing vault items. Cloud setup:
  1. Create a Bitwarden organization at bitwarden.com
  2. Create a collection to share with Skyvern
  3. Contact support@skyvern.com to complete the integration
  4. Get your collection ID from the Bitwarden URL
  5. Reference credentials by collection ID in your agents
Self-hosted setup: For self-hosted Bitwarden or Vaultwarden, configure these environment variables:

1Password

Connect via service account tokens for secure credential access.
  1. Create a 1Password service account with access to your vault
  2. Store the service account token in Skyvern:
  1. Reference vault items by ID in your agents

Azure Key Vault

Store credentials in Azure Key Vault for enterprise environments.

Custom HTTP vault

Integrate your own credential service via HTTP API. Your service must implement these endpoints: Configure via environment variables:
Or via API for per-organization configuration:

Using credentials in agents

Agents are the recommended way to use credentials. Add a credential parameter to your agent, then reference it in login blocks.
You can also manage credentials directly from the Skyvern UI. See the Managing Credentials guide for details.

Using credentials with login

For direct login automations, use the dedicated login method which handles credential retrieval and authentication:
Credential types for login:

Managing credentials

List credentials

Get credential metadata

The GET endpoint returns metadata only, never the actual credential values. This is by design for security.

Delete a credential

Credential deletion is permanent. Agents using the deleted credential will fail on their next run.

Security architecture

Skyvern’s credential handling is designed with security at every layer:
  1. Vault fetch: Credentials are retrieved from your external vault only when needed
  2. Memory only: Values exist in Skyvern’s memory briefly during execution
  3. Placeholder tokens: When sending data to LLMs, real values are replaced with tokens like BW_PASSWORD
  4. No persistence: Real values are never written to databases, logs, or API responses
  5. LLM isolation: Credentials are never sent to language models. The LLM sees only placeholder tokens
When you view a run’s artifacts or recordings, you’ll see placeholder values like BW_PASSWORD, BW_USERNAME, or BW_TOTP instead of actual credentials.

Next steps

Handle 2FA

Set up two-factor authentication for your automations

Troubleshooting

Debug common login failures