{"repo":"alexcasalboni/ssm-cache-python","free":true,"listed":false,"github":"https://github.com/alexcasalboni/ssm-cache-python","clone":"git clone https://github.com/alexcasalboni/ssm-cache-python.git","description":"AWS System Manager Parameter Store caching client for Python","language":"Python","stars":209,"topics":["aws","aws-s3","amazon-web-services","parameter-store","python","python2","python3","cloud-computing","aws-lambda"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"AWS System Manager Parameter Store Caching Client for Python ========================================================== This module wraps the AWS Parameter Store and adds a caching and grouping layer with max-age invalidation. You can use this module with AWS Lambda to read and refresh parameters and secrets. Your IAM role will require ssm:GetParameters permissions (optionally, also kms:Decrypt if you use SecureString params). Package structure The library is split into focused modules — import from the top-level ssm cache package for everyday use, or from a specific submodule when you need internals (e.g. for testing or extension). The version is available at runtime: How to install Dev and test dependencies are declared as an optional group in pyproject.toml and can be installed with: How to use it Simplest use case A single parameter, configured by name. With cache invalidation You can configure the max age in seconds, after which the values will be automatically refreshed. With multiple parameters You can configure more than one parameter to be fetched, cached, and decrypted as a group. With hierarchical parameters You can fetch and cache a group of parameters under a given prefix. Optionally, the group itself can have its own base path. group.parameters(...) can be called multiple times. When caching is enabled, the group's expiry is anchored to the earliest parameters() call, so all prefixes age out together. Hierarchical parameters and filters Filter by parameter Type ","default_branch":null,"files":null,"tree":[],"storefront":"/r/alexcasalboni","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/alexcasalboni/ssm-cache-python/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}