Section 18: AWS Security & Encryption: KMS, Encryption SDK, SSM Parameter Store, IAM & STS Flashcards
What is encryption in flight?
Encryption where data is encrypted before sending and decrypted after receiving
What is necessary for encryption in fligth?
An HTTPS endpoint (SSL Certificate)
SSL Encryption / Decryption
What does encryption in flight prevents?
MITM attacks
What does MITM stand for?
Man In The Middle
When and where is data encrypted when using server side encryption at rest?
Data is encrypted after being received by the server
When using SSE, data is _____ before being sent.
decrypted
What is the necessary thing that allows the server to encrypt data?
A key (usually a data key)
Who is responsible for the management of encryption keys?
You decide, usually a key management service
When and where is data encrypted when using client side encryption?
Data is encrypted by the client before being sent
When using client side encryption, does the server ever decrypt the data?
No
When using client side encryption, where will the data be decrypted?
By a receiving client
What approach/process can you utilize to encrypt large data client side?
Envelope Encryption
What is the result of data encryption?
Cyphertext
What is cyphertext?
Ciphertext is encrypted text transformed from plaintext using an encryption algorithm
How to go from cyphertext to plaintext?
Convert cyphertext to plaintext by decrypting it with a key
What does AWS KMS stand for?
AWS Key Management Service
What does AWS KMS make easy to do?
Create and manage cryptographic keys and control their usage across a wide range of AWS services and in your own applications
What is AWS KMS integrated with for authorization?
IAM
What is the maximum amount of data that KMS can encrypt?
4 KB
What can you do if you need to encrypt more than 4 KB of data?
Use envelope encryption
What do you need to do to give access to a key stored in KMS to someone?
Make sure the Key Policy allows the user
Make sure the IAM Policy allows the API calls
What can you use to audit key usage?
CloudTrail