View a markdown version of this page

Data protection in AWS Context - AWS Context

Data protection in AWS Context

The AWS shared responsibility model applies to data protection in AWS Context. As described in this model, AWS is responsible for protecting the global infrastructure that runs all of the AWS Cloud. You are responsible for maintaining control over your content that is hosted on this infrastructure. This content includes the security configuration and management tasks for the AWS services that you use. For more information about data privacy, see the Data Privacy FAQ. For information about data protection in Europe, see the AWS Shared Responsibility Model and GDPR blog post on the AWS Security Blog.

For data protection purposes, we recommend that you protect AWS account credentials and set up individual users with AWS Identity and Access Management (IAM). That way each user is given only the permissions necessary to fulfill their job duties. We also recommend that you secure your data in the following ways:

  • Use multi-factor authentication (MFA) with each account.

  • Use SSL/TLS to communicate with AWS resources. We recommend TLS 1.2 or later.

  • Set up API and user activity logging with AWS CloudTrail.

  • Use AWS encryption solutions, along with all default security controls within AWS services.

  • If you require FIPS 140-2 validated cryptographic modules when accessing AWS through a command line interface or an API, use a FIPS endpoint. For more information about the available FIPS endpoints, see Federal Information Processing Standard (FIPS) 140-2.

We strongly recommend that you never put sensitive identifying information, such as your customers' account numbers, into free-form fields such as a Name field. This includes when you work with AWS Context or other AWS services using the console, API, AWS CLI, or AWS SDKs. Any data that you enter into AWS Context or other services might get picked up for inclusion in diagnostic logs. When you provide a URL to an external server, don’t include credentials information in the URL to validate your request to that server.

Encryption at rest and in transit

AWS Context encrypts the metadata it stores at rest. This metadata includes the Agent Context and the catalog, ontology, and curation information that AWS Context maintains. AWS Context does not move your source data into the Agent Context; it stores metadata and the extracted graph, and it reads source data under your own permissions at retrieval time.

In transit, AWS Context protects your data with Transport Layer Security (TLS). You access AWS Context through AWS published API calls, and clients must support TLS 1.2 or later. For how AWS Context secures network traffic in more detail, see Infrastructure security in AWS Context.

Customer managed keys

AWS Context works with AWS Key Management Service (AWS KMS) keys to help you protect your data.

When you connect an Amazon Bedrock Managed Knowledge Base that is encrypted with a customer managed AWS KMS key, you must acknowledge the use of that key when you create the connection. AWS Context cannot create the connection without this acknowledgement. For the connection workflow where you provide this acknowledgement, see Connecting data sources.

Data retention for traces

AWS Context stores the traces that trace analysis learns from for up to 14 days, and then deletes them. This applies both to the traces that your agents submit and to AWS Context agent traces. For more information about trace analysis, see Feedback loop.

Data handling for extraction

For unstructured sources, such as content reached through an Amazon Bedrock Managed Knowledge Base, AWS Context performs extraction: it analyzes the source’s text to identify entities and the relationships between them, and represents them in the Agent Context as graph nodes and edges. Extraction runs on unstructured text only. Structured sources, such as data catalogs, are ingested directly as database, table, and column nodes and are not extracted.

Your source content stays governed throughout extraction. Extraction does not change where your source data lives or who can see it. AWS Context stores the resulting metadata and graph, reads source data under the requesting identity’s permissions, and applies the same access controls and curation policy to extracted context as it does to context from any other source. For how extracted changes are reviewed before they become part of the Agent Context, see Curating and improving context.