AWS Parameter Store & Secrets Manager Flashcards

1
Q

What is the Parameter Store?

A

It is part of SSM, it provides secure storage for configuration data and secrets. Values can be stored ast plain text or encrypted using KMS.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Are the parameters in plain text or encrypted?

A

The parameters are in plain text or encrypted, you get to decide.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

I have a configuration for my lambda, where can I securely store it?

A

You can store it in the parameter store.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

I have a configuration for my autoscaling, where can I securely store it?

A

You can store it in the parameter store.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How is data referenced?

A

Using a unique name

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How is data stored?

A

In a hierarchy

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What types are supported by the parameter store?

A
  • Strings
  • StringList
  • SecureString
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How do you access the parameter store?

A

Using a LIB that calls the API, this means you can use it in a container, lambda, Ec2, Beanstalk, ECS, EKS, Code Build/Deploy, etc.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What size can parameters be?

A
  • For Standard they can be 4K

- For Advanced they can be 8K

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

I wnat my parameters to expire after 3mts, how can I do this?

A

You can not with standard, but you can with advanced

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Can I have parameters encrypted?

A

Yes as a SecureString , this is where KMS is used.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Can I use a Key from another account for parameter encryption?

A

Yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

I have an instance with an application thet is using a secure and encrypted parameter from the parameter store, you have created a role and attached it to the instance, the role has permissions to access the parameter in the parameter store, but I am getting an error when accessing the parameter, why?

A

It is because you have not added permissions to KMW form the instance.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Where could I put parameters from my lambda application?

A

In the parameter store.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

I am using CloudFormation and want to be able to have a central location where I can put parameters and have them secure and able to be accessed by CF?

A

You can use the parameter store.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How can I have the hierarchy in the parameter store?

A

You can have a real hierarchy but you can have a value with what seems to be separations ‘/’

17
Q

I wnat to store secret for the RDS DB and have it rotated, how cna I do this?

A

You cna not have an automatic rotation in parameter store, secrets managed has much better functionality for this.

18
Q

I want to have been able to use the parameter store to automatically rotate my secrets in my custom database, what is my best option?

A

Use secret managed, with secrets managed you cna have call lambda when its time to have the secret rotation, with lambda you can run custom code to have the key rotated.

19
Q

I am using secrets manager and I wnat to monitor a secret and have an alarm sent to me when it is changed, how cna I do this?

A

You can use secret manged to store the secret and cloud trail to understand the change to any secrets and then use cloudwatch events to trigger an SNS to send an email.

20
Q

I am using cloud formation with RDS and I wnat to have RDS database secrets, how cna I do this?

A

It probably best not to use parameter store and use secrets managed instead, this way with secrets manager you get the ability to have secret rotation and Secrets Manager have integration with RDS for the secret rotation.

21
Q

When using Secrets managed how cna you control access to the secrets?

A

Use IAM.

22
Q

How cna I distribute parameters to EC2 instances in the autoscaling group?

A

You cna used parameter store.