概念
Encryption at rest and in transit
Scramble data so that anyone who steals or intercepts it cannot read it.
本课尚未翻译,暂以英文显示。
Training data
- At rest
- Encrypted in storage with a KMS key
- In transit
- TLS when loaded
Prompts and answers
- At rest
- Encrypted if stored in logs
- In transit
- TLS to the model
Custom model
- At rest
- Encrypted with your KMS key
- In transit
- TLS when used
Vector store
- At rest
- Encrypted in the database
- In transit
- TLS to the app
| Data | At rest | In transit |
|---|---|---|
| Training data | Encrypted in storage with a KMS key | TLS when loaded |
| Prompts and answers | Encrypted if stored in logs | TLS to the model |
| Custom model | Encrypted with your KMS key | TLS when used |
| Vector store | Encrypted in the database | TLS to the app |
1 / 2
Training data
- At rest
- Encrypted in storage with a KMS key
- In transit
- TLS when loaded
Prompts and answers
- At rest
- Encrypted if stored in logs
- In transit
- TLS to the model
Custom model
- At rest
- Encrypted with your KMS key
- In transit
- TLS when used
| Data | At rest | In transit |
|---|---|---|
| Training data | Encrypted in storage with a KMS key | TLS when loaded |
| Prompts and answers | Encrypted if stored in logs | TLS to the model |
| Custom model | Encrypted with your KMS key | TLS when used |
2 / 2
Vector store
- At rest
- Encrypted in the database
- In transit
- TLS to the app
| Data | At rest | In transit |
|---|---|---|
| Vector store | Encrypted in the database | TLS to the app |
是什么
Encryption turns readable data into scrambled data that only someone with the right key can read. In an AI system there are two places to protect. Data at rest is data in storage: training data, vector stores, logs and model files. Data in transit is data moving over a network: a prompt on its way to a model and the answer coming back.
是什么
On AWS, data in transit is protected with TLS, the standard that secures HTTPS. AWS service endpoints, including Amazon Bedrock, use it. Data at rest is protected with keys managed in AWS Key Management Service (AWS KMS). Many services, such as Amazon S3 and Amazon Bedrock custom models, can encrypt with a KMS key you control.
Encryption protects data from people who should not see it at all. It does not decide who may use the data inside your account. That job belongs to IAM.
要记住
- At rest: data in storage. In transit: data on the move. Protect both.
- In transit uses TLS. At rest uses encryption keys, usually from AWS KMS.
- Cover training data, prompts, responses, embeddings, logs and custom model files.
- Encryption does not replace access control. Use IAM as well.
要记住
- Customer managed KMS keys give you control over who can use the key and when it is disabled.
考试中
- “Protect prompts as they travel to the model” points to encryption in transit (TLS).
- “Protect training data stored in Amazon S3” points to encryption at rest, with AWS KMS keys.
- “Control the keys that encrypt a custom model” points to AWS KMS.
别和这些弄混
AWS Key Management Service (AWS KMS)Creates and controls the encryption keys that protect your AI data and custom models.
AWS PrivateLinkConnects your network to AWS services such as Amazon Bedrock without sending traffic over the public internet.
Amazon MacieFinds sensitive data, such as personal information, in Amazon S3 before it ends up in your AI.