Below you can find a step-by-step guide on how to set an access to a specific Amazon S3 bucket for a single user (a bucket user-lion in the example):
Go to My Security Credentials.
![My Security Credentials My Security Credentials](https://ftp-mac.com/wp-content/uploads/2024/04/amazon-step-1-1-e1713800197166.png)
Select Get Started with IAM Users.
![Get Started with IAM Users Get Started with IAM Users](https://ftp-mac.com/wp-content/uploads/2024/04/amazon-step-2.png)
Select the Create Policy option in the Policy section, then select Create Your Own Policy.
![Create Your Own Policy Create Your Own Policy](https://ftp-mac.com/wp-content/uploads/2024/04/amazon-step-3.png)
The next step is to add a Policy Document, which will look like this:
![Policy Document Policy Document](https://ftp-mac.com/wp-content/uploads/2024/04/amazon-step-4.png)
![Review Policy Review Policy](https://ftp-mac.com/wp-content/uploads/2024/04/amazon-step-6-1024x761.png)
At this step, you will need to go back to My Security Credentials, select the Users section and create a user who will have an access to the mentioned bucket.
![Users section Users section](https://ftp-mac.com/wp-content/uploads/2024/04/aHMND6xliqJRYGkgZMPsLZECCMBF0gVmcQ.png)
Then, attach the previously created policy to a user.
![attach existing policies attach existing policies](https://ftp-mac.com/wp-content/uploads/2024/04/amazon-step-8-1024x761.png)
![attach policies attach policies](https://ftp-mac.com/wp-content/uploads/2024/04/amazon-step-9-1024x761.png)
When the previous step is done, go to the Users section → select the newly created user → open the Security credentials tab → select Create access key.
![Create access key Create access key](https://ftp-mac.com/wp-content/uploads/2024/04/amazon-step-10-1024x761.png)
![Success Success](https://ftp-mac.com/wp-content/uploads/2024/04/4G-hHMjIOvCuJ4ZeQxe6xTtdh2mjhKDOvg-1024x761.png)
Finally, using the login information from the previous steps, a specific bucket can be accessed by a single user.
![connections connections](https://ftp-mac.com/wp-content/uploads/2024/04/amazon-step-12.png)