Skip to guide content
04 / CLOUDPILOT GUIDE

Get AWS credentials and manage profiles

Obtain AWS API credentials first, then save them in CloudPilot. Follow either the IAM user key steps or the IAM Identity Center temporary-credential steps, according to how you access AWS.

Updated October 8, 2026

  1. Choose the credential type

    The panel needs AWS API credentials. IAM user keys contain an Access Key ID and Secret Access Key; temporary credentials also contain a Session Token. If you sign in through an organization’s AWS access portal, use the temporary-credential method below. An AWS sign-in email, console password, 12-digit account ID or EC2 .pem private key does not replace these fields.

  2. Method A: open IAM and choose a user

    Sign in to the AWS console, open IAM and select the intended IAM user from Users. Do not create root-user access keys for the panel. If your organization provides only role access and no IAM user, use Method B or contact your administrator.

  3. Create a dedicated IAM user if needed

    An account with IAM administration permissions can create a user under Users → Create user, for example cloudpilot. Console sign-in is unnecessary for a user used only by the panel’s API calls. Assign an appropriate group or permission policies, review the settings and create the user. Skip this step if a suitable user already exists.

  4. Assign permissions for the features you use

    Use the user’s Permissions page to assign groups or policies for the EC2, Lightsail, SSM and other operations you need. A key inherits its user’s permissions; creating it does not grant administrator access. Ask an AWS administrator if you cannot manage users, keys or policies, and scope permissions to the required features.

  5. Create an access key

    Open the selected user’s security-credentials tab and create a key in its access-key area. Review AWS’s use-case guidance and alternatives. If a long-term key is required, proceed with Other, optionally describe its purpose, and create the key.

  6. Save the ID and secret together

    On the result page, copy the access key ID and reveal and copy its matching secret, or download the CSV to a secure location. The secret cannot be retrieved after this creation screen is closed. Keep the pair together. Leave Session Token empty for a long-term IAM user key.

  7. Method B: get temporary credentials from the AWS access portal

    Sign in to the AWS access portal provided by your administrator. Expand the target account under Accounts and find your assigned role. Open its Access keys or Command line or programmatic access link. If the account or role is absent, ask your administrator to assign access.

  8. Copy all three temporary credential values

    Use the individual-value option, usually Option 3, to copy the key ID, secret and session token. Environment-variable equivalents are AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY and AWS_SESSION_TOKEN. Paste values only, without export commands or surrounding quotes. All three must come from the same retrieval.

  9. Fill in and save the panel profile

    In CloudPilot Credentials, add a profile with a recognizable name. Enter the key ID in Access Key ID and its matching secret in Secret Access Key. Include the full Session Token for temporary credentials; leave it blank for long-term IAM keys. Save and select the profile, then compare the returned 12-digit AWS account ID with your intended account.

  10. Refresh an expired temporary profile

    Saving temporary credentials does not extend their lifetime or enable automatic renewal in the panel. On an expiry error such as ExpiredToken, retrieve fresh portal credentials and replace the key ID, secret and token together in the existing profile. Do not mix a new token with an older key pair.

  11. Find, switch and import profiles

    Search Saved profiles by name or 12-digit AWS account ID, select one, and check Current credential in the dashboard. For multiple sets, follow the bulk-import dialog’s CSV, key=value or JSON format. If an AWS-downloaded file uses different fields, adapt it to the panel’s template first.

  12. Distinguish invalid credentials from missing permissions

    For invalid-token or signature errors, check that the key pair matches, all values were copied completely, and any temporary token is present and unexpired. AccessDenied after successful identity validation calls for checking feature permissions, permissions boundaries or organization restrictions. Recreating a key does not increase permissions.

Your CloudPilot account and AWS credentials serve different purposes. Save keys only in a panel you trust and hide secrets and session tokens in screenshots. Handle lost or exposed keys in AWS IAM and replace the panel profile.

Open panel credential profiles (new tab)

Related questions

I have an access key ID. Where can I find its secret?

A secret is available only at key creation and cannot be recovered from its ID. Check the CSV or secure storage used at the time. If lost, follow AWS’s replacement procedure: create a new pair, update dependent applications, then deactivate and retire the old key.

Do I need the optional Session Token field?

Leave it blank for long-term IAM user keys. It is required for temporary credentials from Identity Center, role sessions or STS. Use a matching key ID, secret and token, and replace all three after expiry. Do not enter an SSO URL, SSO region, verification code or sign-in password.

Why is Create access key missing or disabled in AWS?

Confirm that you are on an IAM user’s security-credentials page, not a role or Identity Center user page. Creation requires permission. An IAM user can have at most two access keys, including inactive keys; check dependencies and follow AWS’s key-management process before removing an old key.

Why is an existing instance missing from the list?

Check Current credential and the 12-digit AWS account ID, select the instance's region, then clear unnecessary searches or filters and refresh. Check expiry if using temporary credentials. After switching profiles, the list shows resources accessible to the selected profile.