Secrets Management

Definition

Secure storage and automatic rotation of sensitive information like passwords, API keys, certificates, and tokens used by applications.

Use Cases

Provider Equivalents

Frequently Asked Questions

What's the difference between Secrets Management and KMS (Key Management Service)?
KMS manages encryption keys (the keys used to encrypt/decrypt data). Secrets Management stores the sensitive values themselves (like database passwords or API tokens) and controls who/what can retrieve them. Many secrets services use KMS under the hood to encrypt secrets at rest, but they add features like secret versioning, access policies, auditing, and rotation workflows.
When should I use Secrets Management?
Use it whenever an application needs sensitive values (database credentials, third-party API keys, OAuth tokens, signing keys, TLS certificates) and you want to avoid hardcoding them in code, container images, or CI logs. It’s especially useful if you need regular rotation, centralized auditing, least-privilege access, and a standard way for multiple services/environments (dev/test/prod) to retrieve secrets safely.
How much does Secrets Management cost?
Costs usually depend on (1) how many secrets you store, (2) how often secrets are accessed (API calls), and (3) whether you use rotation or managed HSM options. For example, AWS Secrets Manager charges per secret per month plus API calls, while Azure Key Vault and GCP Secret Manager commonly charge based on operations (and sometimes per secret/version). OCI Vault pricing depends on vault type and operations. Rotation can add costs for the compute used to run rotation logic (for example, a serverless function) and any database/user-management operations involved.

Category: security

Difficulty: intermediate

Related Terms

See Also