Under Cloud accounts you store access keys for Amazon Web Services. MainPath uses them to create Kubernetes clusters (EKS) and optional databases (RDS) in your account. Use a dedicated IAM user, not the root account.
Create an access key in AWS
- Sign in to the AWS console and open IAM.
- Under Users, create a user, for example
application-platform. - Grant rights to create EKS clusters, networks (VPC), and RDS databases in the region you will later select in MainPath. In a dedicated AWS account for MainPath, the AdministratorAccess policy is often enough.
- Open the user → Security credentials → Create access key and choose Application running outside AWS.
- Copy the Access Key ID and Secret Access Key. AWS shows the secret only once.
The official guide is Manage access keys for IAM users.
Add the account in MainPath
- Open Cloud accounts and click Add cloud account.
- Choose AWS.
- Enter a name, slug, and these values:
| Platform field | Source |
|---|---|
| Access Key ID | Access Key ID from IAM, usually starts with AKIA |
| Secret Access Key | Secret Access Key from the same dialog |
| Region | AWS region, for example eu-central-1 for Frankfurt |
- Save. Secrets are stored encrypted; the list shows name, provider, and region.
Then create a cluster under Kubernetes clusters and select this account.