

# 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/`.

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

1. **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](cloud-extensions-ext-parameter-store-configuration.md#cloud-extensions-ext-parameter-store-configuration-descriptions-of-settings).

1. **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.

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

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

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