KMS Flashcards
What is AWS Key Management Service?
AWS KMS is a managed service that makes it easy for you to create and control the customer master keys (CMKs)
What are CMKs?
Customer Master Keys are encryption keys that are used to encrypt your data
AWS CMKs are protected by ________
Hardware security modules (HSMs)
How to track the use of CMKs for auditing, regulatory and compliance needs?
KMS is integrated with CloudTrail to log the use of CMKs.
CloudTrail delivers the log files to ________
Amazon S3
What is Symmetric CMK?
Symmetric CMK represents single 256 bit secret encryption key that never leaves KMS unencrypted. To use symmetric CMK you must call AWS KMS
What is Asymmetric CMK?
Asymmetric CMK represents mathematically related public key and private key pair, where the private key never leaves AWS KMS unencrypted.
Where can Asymmetric CMKs be used?
Asymmetric CMKs can be used for encryption/decryption or signing/verification but not for both.
How is the asymmetric key used?
You can use public key within AWS KMS by calling AWS KMS API operations or download public key and use it outside of AWS KMS.
What is Symmetric Data key?
Symmetric data key is a symmetric encryption key that is used to encrypt data outside of KMS. The Symmetric data key is protected by Symmetric CMK in AWS KMS
What is Asymmetric Data key?
An asymmetric data key is an RSA or elliptic curve (ecc) key pair that consists of public key and private key where the private key is protected by symmetric CMK in AWS KMS.
What is AWS recommendation for using RSA and Elliptical Curve key usages?
AWS KMS recommends to use Elliptical Curve (ECC) keys for signing and use RSA keys for encryption and decryption, but not both. However AWS KMS cannot enforce restrictions on the use of data key pairs outside of AWS KMS.
When you create a Customer Master Key in KMS, by default you get a _________
Symmetric CMK
Symmetric keys are used in _________ encryption
Symmetric, which means the same key is used for encryption and decryption.
___________ keys are good choice? (Symm/Asymm)
Symmetric
AWS Services that are integrated with KMS use ________ CMKs and does not support encryption with _________ CMKs
Symmetric; Asymmetric
If your case requires encryption outside of AWS, by users that cannot access KMS, ___________ keys are good choice.
Asymmetric CMKs
If you are creating a CMK to encrypt the data stored and managed in AWS, use ______________ key.
Symmetric CMKs
What are the Asymmetric keys that KMS support?
- RSA CMKs
2. Elliptic Curve (ECC) CMKs
What are RSA CMKs
A CMK with RSA is used for for encryption and decryption or signing and verification (but not both). AWS KMS supports several key lengths for different security requirements.
What is Elliptic Curve (ECC) CMK?
A CMK with an elliptic curve key pair for signing and verification. AWS KMS supports several commonly-used curves.
The type of CMK that you create depends largely on ____________
how you plan to use the CMK, your security requirements, and your authorization requirements.
Use a ___________ for most use cases that require encrypting and decrypting data.
symmetric CMK
The symmetric encryption algorithm that AWS KMS uses is __________
fast, efficient, and assures the confidentiality and authenticity of data.