View a markdown version of this page

Best practices for the Parameter Store extension in AWS Systems Manager Cloud Extensions - AWS Systems Manager

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.

  1. Use hierarchical names – Organize parameters with prefixes such as /myapp/database/ and /myapp/api/.

  2. Choose the cache TTL deliberately – A longer time to live (TTL) makes fewer calls to Parameter Store, and a shorter TTL returns changes sooner.

  3. 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.

  4. 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.

  5. Approve only the capabilities that you need – Review the capabilities, and clear the capabilities that you don't need.

  6. Use parameter tags – Tag parameters for organization and cost allocation.

  7. Read related parameters together – Use GetParameters to read up to 10 parameters in one request and one call to Parameter Store.