

# Amazon S3 with optional metadata

Connect documents in Amazon S3 through the Amazon S3 connector of a managed knowledge base. For the steps, see [Amazon S3](https://docs.aws.amazon.com/bedrock/latest/userguide/kb-managed-ds-s3.html) in the *Amazon Bedrock User Guide*.

You can add a metadata file next to each document. The knowledge base sends the metadata with the document. For the file format, see the same page.

Amazon S3 has no permissions of its own for individual readers, so you provide ACLs in a file. For the format, see [Document-level access controls](https://docs.aws.amazon.com/bedrock/latest/userguide/kb-managed-ds-s3-acl.html) in the *Amazon Bedrock User Guide*. The knowledge base can’t check these ACLs against the source at query time. A change to an ACL file applies after the next sync.