Add AWS credentials
Before you can add your AWS credentials to Portainer, you will need to configure your IAM account with the necessary access policies and create and retrieve an access key.
Configuring access to AWS
While you can use an existing IAM user to communicate with Portainer, you may want to create a new user for just this purpose. The minimum IAM policies required for Portainer to provision are as follows:
AmazonEC2FullAccess
AWSCloudFormationFullAccess
In addition, we require two custom policies, which you should create and assign to your IAM user:
EKSFullAccess
IAMLimitedAccess
Once you have your IAM user set up, log in to the AWS portal with the IAM user and in the top right menu - the user's name - select Security Credentials. Expand the Access keys section and click Create New Access Key.
Copy the Access key ID and the Secret access key that are generated.
Adding your credentials
To add credentials for an AWS account, from the Cloud settings page click Add credentials, then select the Amazon Web Services (AWS) option. Enter a name for your credentials, then paste your access key ID and and secret access key from AWS into the fields.
![](https://docs.portainer.io/~gitbook/image?url=https%3A%2F%2F3146734376-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FwXVC6tYZrbL0dPoO2iBb%252Fuploads%252FbbsPKXN9bSVXBXqf2fer%252F2.15-settings-cloud-aws-add.png%3Falt%3Dmedia%26token%3D78a35ef3-48de-4993-9cf8-b34c8d185906&width=768&dpr=4&quality=100&sign=266a52b4&sv=1)
When you're ready, click Add credentials. Your credentials will now be available to you when provisioning a Kubernetes cluster on AWS.
Last updated