What is AWS Systems Manager Parameter Store?
A managed service to store configuration data and secrets securely, centrally, and in a hierarchical structure for applications and infrastructure.
What types of data can Parameter Store manage?
Plaintext, SecureString (encrypted), and StringList.
What is the difference between String and SecureString parameters?
String is plaintext, while SecureString is encrypted using AWS KMS keys for security.
How does Parameter Store integrate with AWS KMS?
SecureString parameters can be encrypted with a customer-managed KMS key or the default AWS-managed key.
What are Hierarchical Parameters?
Parameters can be stored in a path-like hierarchy, e.g., /prod/db/username, allowing logical grouping.
What is the maximum size of a parameter value?
4 KB for standard parameters; 8 KB for advanced parameters.
What is the difference between standard and advanced parameters?
Standard: free, 10,000 max, 4 KB, 1 per second throughput. Advanced: paid, 100,000 max, 8 KB, higher throughput, supports policies, larger value sizes.
Can you attach policies to parameters?
Yes, advanced parameters support parameter policies for expiration, rotation, and notifications.
How can applications access Parameter Store securely?
Via AWS SDKs, CLI, or by assigning IAM roles/policies to EC2, Lambda, or other services.
What is Parameter Versioning?
Parameter Store automatically maintains versions of parameters each time they are updated, allowing rollback.
How do you create a parameter using AWS CLI?
aws ssm put-parameter –name “/prod/db/password” –value “MySecret” –type SecureString
How do you retrieve a parameter value from Parameter Store?
aws ssm get-parameter –name “/prod/db/password” –with-decryption
How do you retrieve multiple parameters under a path?
aws ssm get-parameters-by-path –path “/prod/db/” –recursive –with-decryption
How do you update a parameter?
aws ssm put-parameter –name “/prod/db/password” –value “NewSecret” –type SecureString –overwrite
How do you delete a parameter?
aws ssm delete-parameter –name “/prod/db/password”
How do you list all parameters?
aws ssm describe-parameters
How can Parameter Store integrate with EC2, Lambda, or ECS?
Use IAM roles to allow services to call GetParameter API at runtime to fetch config or secrets.
What is the difference between GetParameter and GetParameters?
GetParameter fetches a single parameter; GetParameters fetches multiple parameters at once.
Should you use Parameter Store for sensitive data?
Yes, use SecureString with KMS encryption.
How should you manage parameter versioning?
Always use versioning to allow safe rollback of changes.
When should you use advanced parameters?
When you need larger values, parameter policies, or higher throughput.
How do you structure hierarchical parameters?
Use paths like /environment/service/config to keep parameters organized.
Can Parameter Store replace AWS Secrets Manager?
For basic secrets, yes, but Secrets Manager offers rotation, replication, and secret lifecycle management.
How would you store database credentials securely for a Lambda function?
Store as SecureString in Parameter Store, encrypt with KMS, and give Lambda an IAM role to access the parameter.