KMS Flashcards

1
Q

What is KMS?

A

Key Management Service. Easy to create and control encryption keys used to encrypt your data

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

What is CMK?

A

Customer Master Key

encrypt/decrypt data up to 4KB

Used to generate/encrypt/decrypt/data key

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

What is a data key

A

Used to encrypt/decrypt data (typically data over 4KB)

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

Is KMS a global or regional service?

A

regional

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

2 types of keys supported by KMS

A

Symmetric

Asymmetric

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

What are the key material origin options for KMS?

A

KMS

External (own key)

Custom Key Store (Cloud HSM)

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

What is Cloud HSM

A

Next level service to KMS. It is more money. It is mostly for customers in highly regulated environments. Own hardware.

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

KMS call to rotate key each year

A

aws kms enable-key-rotation

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

How can you audit which keys and resources are used and when in KMS?

A

KMS is integrated with CloudTrail

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

Envelope Encryption

A

encrypt plaintext data with data key

encrypt data key with master key

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

What permissions do you need from KMS to perform a multipart upload with encription using a CMK for S3?

A

kms: Decrypt
kme: GenerateDataKey*

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