Use filesets to index your files. Manage access to your files rich metadata via policy in the same way as for datasets.

Provide your AWS S3 credentials and connect them to your account. How to setup it, please read here

How to generate AWS Key and Secret, please see here.  How to create S3 bucket and setup public access you can find here

You can edit the name of your fileset, update your credentials or delete your fileset. 

Create additional fields to add metadata to your files

Full details of the fileset API can be found in its documentation.