---
title: Creating S3 Credentials for middleware
slug: docuflow-for-s3/creating-s3-credentials-for-middleware
docTags: 
createdAt: 2023-09-01T19:48:08.031Z
---

To create an S3 Connection in middleware you must have an aws Access Key and a secret access key. We recommend using the IAM interface in AWS to configure a user with an access key with the appropriate permissions, however it is possible to use a root access/secret access key.

For demonstration and simplicity purposes on how to create an access key and secret access key, the below instructions are using a root account.&#x20;

- In the IAM Panel click "Create Access Key".

![](https://api.archbee.com/api/optimize/1hH4CNQG9tP4YS-TB-TC6/7lBt05ngd2Rb9-05QY9b3_image.png)

- Note down the "Access Key" and "Secret access key" for later use as seen below. You can also download the record as a csv file.

![](https://api.archbee.com/api/optimize/1hH4CNQG9tP4YS-TB-TC6/QHNnEObWsrQcTARO_aZ0G_image.png)



![](https://api.archbee.com/api/optimize/1hH4CNQG9tP4YS-TB-TC6/QHNnEObWsrQcTARO_aZ0G_image.png)

