Best practices for the Parameter Store extension in AWS Systems Manager Cloud Extensions
Use the following practices to get fast, current parameter values from the Parameter Store extension.
-
Use hierarchical names – Organize parameters with prefixes such as
/myapp/database/and/myapp/api/. -
Choose the cache TTL deliberately – A longer time to live (TTL) makes fewer calls to Parameter Store, and a shorter TTL returns changes sooner.
-
Keep the cache size within the limits – Use the guidance in the Cache size setting for large parameters and long names. For more information, see Descriptions of settings.
-
Encrypt SecureString parameters with your own key – Use a customer managed AWS Key Management Service (AWS KMS) key for SecureString parameters. Store secrets in AWS Secrets Manager, not in Parameter Store.
-
Approve only the capabilities that you need – Review the capabilities, and clear the capabilities that you don't need.
-
Use parameter tags – Tag parameters for organization and cost allocation.
-
Read related parameters together – Use GetParameters to read up to 10 parameters in one request and one call to Parameter Store.