$npx skillfedfor your agent

aws-secretsmanager-caching

Client-side AWS Secrets Manager caching library

Worth itPyPI SecurityReleased Jun 20242.9M downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — aws_secretsmanager_caching-1.1.3-py3-none-any.whl
v1.1.3 · released 2024-06-20 · Python >3.5 · 1 runtime deps: botocore

Yes. The package is actively maintained, has no known vulnerabilities, minimal dependencies, and solves a real problem for AWS-based Python applications. The permissive Apache 2.0 license and stable production status make it a low-risk addition. Install if your application retrieves secrets from AWS Secrets Manager more than occasionally.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.7 or newer and an AWS account with access to AWS Secrets Manager.
  • Low install friction with a single runtime dependency (botocore).
  • Actively maintained with recent commits and stable production status.

License · maintenance · safety

permissive license (permissive) — Licensed under Apache 2.0, a permissive license allowing commercial and private use with minimal restrictions.

last release 2024-06-20 (785 days) · last repo commit 2026-08-12 · 145 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 2,928,556 downloads/mo, #2,820 on PyPI

Verify before relying

pip install aws-secretsmanager-caching

import botocore.session
from aws_secretsmanager_caching import SecretCache, SecretCacheConfig

client = botocore.session.get_session().create_client('secretsmanager')
cache = SecretCache(config=SecretCacheConfig(), client=client)
secret = cache.get_secret_string('mysecret')
  • Whether the cache TTL and refresh interval defaults (3600 seconds) are suitable for typical secret rotation workflows.
  • Performance impact of the configurable max_cache_size (default 1024) on memory usage in high-secret scenarios.
Same gist for agents: .md · .json

What it is and what it does

This package provides a client-side caching layer for AWS Secrets Manager that stores retrieved secrets in memory, reducing repeated API calls to AWS. It wraps botocore to handle secret retrieval and caching logic, allowing applications to configure cache size, refresh intervals, and retry behavior for failed requests.

The library is designed for Python applications that need to access secrets frequently without incurring the latency and cost of repeated AWS API calls. It includes decorators to inject secrets directly into function arguments and supports both simple string secrets and JSON-based secret objects. Configuration options control cache size, refresh timing, and exception retry strategies.

Use it for

  • Reduce API call volume in applications that access the same secrets multiple times during request handling.
  • Inject database credentials or API keys into function parameters using decorators without explicit secret retrieval code.
  • Configure automatic secret refresh intervals to balance freshness with API call reduction.
  • Handle transient AWS API failures with exponential backoff retry logic before surfacing errors to the application.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package is actively maintained, has no known vulnerabilities, minimal dependencies, and solves a real problem for AWS-based Python applications. The permissive Apache 2.0 license and stable production status make it a low-risk addition. Install if your application retrieves secrets from AWS Secrets Manager more than occasionally.

Install

aws-secretsmanager-caching on PyPI

Before you install

Low install friction with a single runtime dependency (botocore). Actively maintained with recent commits and stable production status.

Requires Python 3.7 or newer and an AWS account with access to AWS Secrets Manager.

License in practice

Licensed under Apache 2.0, a permissive license allowing commercial and private use with minimal restrictions.

Quickstart

pip install aws-secretsmanager-caching

import botocore.session
from aws_secretsmanager_caching import SecretCache, SecretCacheConfig

client = botocore.session.get_session().create_client('secretsmanager')
cache = SecretCache(config=SecretCacheConfig(), client=client)
secret = cache.get_secret_string('mysecret')

Verify before relying

  • Whether the cache TTL and refresh interval defaults (3600 seconds) are suitable for typical secret rotation workflows.
  • Performance impact of the configurable max_cache_size (default 1024) on memory usage in high-secret scenarios.

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >3.5
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
botocore
MaintenanceActively maintained 785 days since the last release
Last repo commit
First released
Downloads2,928,556 / month, #2,820 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3.6Programming Language :: Python :: 3.7

Evidence: aws_secretsmanager_caching-1.1.3-py3-none-any.whl

Tags

Capabilities
AWS secrets manager cachingin-process secret cachingreduce secrets manager API callsPython secrets caching clientAWS credential cachingsecret refresh and cachebotocore secrets caching
Topics
aws-integrationcredential-managementcaching
PyPI keywords
secretsmanagersecretsmanagerdevelopmentcachecachingclient

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “AWS secrets manager caching”

Give your agent the search over MCP, or paste the wish link into any chat.

More Security packages

SecretStorage With conditions
PyPI · Python Modules · released Nov 2025

Provides Python bindings to the FreeDesktop.org Secret Service API for securely storing and retrieving passwords and secrets through GNOME Keyring, KWallet, or KeePassXC.

BSD-3-Clausepure Python · 3.10+aging
226.9Mdownloads / mo
msal Worth it
PyPI · Security · released May 2026

MSAL for Python handles OAuth2 and OpenID Connect authentication with Microsoft identity services, managing token acquisition, caching, and refresh for applications integrating with Microsoft Entra ID, Microsoft Accounts, and Azure AD B2C.

MITpure Python · 3.9+
223.0Mdownloads / mo
joserfc Worth it
PyPI · Security · released Jul 2026

joserfc implements JOSE standards (JWS, JWE, JWK, JWT, and related RFCs) for signing, encrypting, and managing JSON-based cryptographic tokens in Python.

BSD-3-Clausepure Python · 3.10+
155.5Mdownloads / mo
Authlib Worth it
PyPI · Security · released May 2026

Authlib provides a complete implementation of OAuth 1.0, OAuth 2.0, and OpenID Connect 1.0 for building both authentication clients and servers, with built-in support for JWS, JWK, JWA, and JWT standards.

BSD-3-Clausepure Python · 3.10+
155.1Mdownloads / mo
argon2-cffi-bindings With conditions
PyPI · Python Modules · released Jul 2025

Provides low-level CFFI bindings to the official Argon2 password hashing algorithm for use by libraries and applications that need direct access to Argon2 without higher-level abstractions.

MITcompiled wheel · 3.9+
74.2Mdownloads / mo
adal Skip
PyPI · Security · released Apr 2021

ADAL for Python authenticates applications with Azure Active Directory to obtain tokens for accessing Azure AD-protected resources.

Install only if maintaining existing code that already depends on it, and plan a migration.

MITpure Pythonabandoned
44.5Mdownloads / mo

See also aws-cdk.aws-secretsmanager · ibm-secrets-manager-sdk · keeper-secrets-manager-core · cerberus-python-client · credstash · infisicalsdk · azure-keyvault-secrets · mypy-boto3-secretsmanager · ssm-parameter-store · cachier