@aws-sdk/client-secrets-manager
AWS SDK client for Secrets Manager, providing GetSecretValue, CreateSecret, and RotateSecret for secret lifecycle.
Official Documentation ↗v3.658. Check the official docs for the latest API surface.Installation
npm install @aws-sdk/client-secrets-managerMethods
No methods match this filter.
@aws-sdk/client-secrets-manager is aws sdk client for secrets manager, providing getsecretvalue, createsecret, and rotatesecret for secret lifecycle. This page documents the core methods, installation, and common usage patterns for the current stable release.
Installation
Install @aws-sdk/client-secrets-manager with your preferred package manager using the command shown in the frontmatter. The package is published to the npm registry and ships with TypeScript types where applicable.
Core methods
The methods listed in the frontmatter cover the primary API surface. Each signature reflects the v3.658 release. Consult the official documentation linked in sourceUrl for advanced options, edge cases, and breaking changes between major versions.
Frequently asked questions
The faq section in the frontmatter answers the most common questions about @aws-sdk/client-secrets-manager, including comparisons with alternatives, configuration tips, and runtime requirements. If your question is not covered, check the source URL for the full guide.
FAQ
- Does it cache secrets?
- No. Cache locally with a TTL to avoid API costs and rate limits; use @aws-sdk/middleware-caching or a wrapper.
- How does rotation work?
- Configure a Lambda rotation function; RotateSecretCommand invokes it asynchronously.
- What is the secret size limit?
- 64 KB per secret; use S3 or Parameter Store for larger values.
Report a problem with this API docOpens a pre-filled issue on GitHub.