Access Key & Secret Key
3 minute read
This guide walks you through connecting your AWS account to Cloud2Gether using an IAM Access Key and Secret Key. This is the simplest connection method, ideal for quick setups and development environments.
Access keys are long-lived credentials. For production environments, consider using Role Delegation instead, which uses temporary credentials and is more secure.
Part 1: Create an IAM User in AWS
Step 1: Open the IAM Console
- Sign in to the AWS Management Console
- Navigate to IAM (Identity and Access Management) by searching for “IAM” in the top search bar
- In the left sidebar, click Users
Step 2: Create a New User
- Click the Create user button
- Enter a user name, for example:
cloud2gether-readonly - Click Next
Step 3: Attach Permissions
- Select Attach policies directly
- In the search box, type
ReadOnlyAccess - Check the box next to the ReadOnlyAccess managed policy
- Click Next
The ReadOnlyAccess policy grants read-only access to all AWS services. This allows Cloud2Gether to discover and analyze all your cloud resources without being able to modify anything.
Step 4: Review and Create
- Review the user configuration
- Click Create user
Step 5: Generate Access Keys
- Click on the newly created user name to open its details
- Go to the Security credentials tab
- Scroll down to the Access keys section
- Click Create access key
Step 6: Configure Access Key
- Select Third-party service as the use case
- Check the confirmation box acknowledging the recommendation
- Click Next
- Optionally add a description tag (e.g.,
Cloud2Gether integration) - Click Create access key
Step 7: Copy Your Credentials
You will see your Access Key ID and Secret Access Key. Copy both values and store them securely.
This is the only time you can view or copy the Secret Access Key. If you lose it, you will need to create a new access key. Store these credentials securely and never share them publicly.
Part 2: Connect in Cloud2Gether
Step 1: Navigate to Cloud Accounts
- Log in to Cloud2Gether
- In the left sidebar, click Cloud Accounts
- Click the Add Account button
- Select AWS as the cloud provider
Step 2: Enter Account Details
- Account name: Enter a descriptive name for this account (e.g.,
My AWS Production) - Select the Access Key & Secret Key connection method
Step 3: Enter Your Credentials
- Paste your Access Key ID in the corresponding field
- Paste your Secret Access Key in the corresponding field
Step 4: Add the Account
- Click Add Account
- Cloud2Gether will validate your credentials and begin discovering your AWS resources
Your AWS account is now connected. Cloud2Gether will start scanning your resources and they will appear in your dashboard within a few minutes.
Troubleshooting
| Issue | Solution |
|---|---|
| Invalid credentials | Verify you copied the Access Key ID and Secret Access Key correctly. Generate a new key if needed. |
| Access denied errors | Ensure the ReadOnlyAccess policy is attached to the IAM user. |
| Resources not appearing | Allow a few minutes for the initial resource discovery to complete. |
Next Steps
- Explore your resources in the Resource Catalog
- Set up additional cloud accounts for a multi-cloud view
Feedback
Was this page helpful?
Was this page helpful?
Let us know how we can improve