CLI

CLI Configuration

Configure the Secryn CLI with your base URL, vault ID, and access key.

CLI Configuration

The Secryn CLI connects to your Secryn instance using:

  • base URL
  • vault ID
  • access key

Configure the CLI

secryn config set \
  --base-url https://your-secryn-instance/api \
  --vault-id YOUR_VAULT_ID \
  --access-key YOUR_ACCESS_KEY

Local Config File

CLI configuration is stored locally at:

~/.config/secryn/config.yaml

Environment Variables

You can also provide configuration through environment variables:

  • SECRYN_BASE_URL
  • SECRYN_VAULT_ID
  • SECRYN_ACCESS_KEY