What you’ll need
- AWS account with permission to create an IAM user (or IAM role for cross-account access).
- Three minutes.
Set it up
Create an IAM user in AWS
In the AWS Console, go to IAM → Users → Add users.
- Name:
axiom-layer-readonly - Access type: Programmatic access
ReadOnlyAccess (or use the trimmed policy below if you want least privilege).Save the access key
On the final step, copy the Access key ID and Secret access key. The secret is only shown once.
Paste into Layer
In Layer, go to Integrations, find AWS, and click Connect. Paste the Access Key ID, Secret Access Key, and your default region (e.g.
us-east-1). Click Connect.Least-privilege policy
If you don’t want to grantReadOnlyAccess, attach this trimmed policy instead:
What gets synced
| Object | Fields | Refresh cadence |
|---|---|---|
| IAM users | name, ARN, MFA enabled, last activity | Daily |
| IAM roles | name, ARN, trust policy | Daily |
| Marketplace charges | vendor, product, monthly cost | Daily |
Troubleshooting
AccessDenied on Cost Explorer
AccessDenied on Cost Explorer
Cost Explorer must be enabled in your AWS account before any API can query it. Go to Billing → Cost Explorer and click Enable. There’s a 24-hour delay before data is available.
I want to use cross-account roles instead of an access key
I want to use cross-account roles instead of an access key
Cross-account role support is on the roadmap. Email support@axiomancer.io to be notified when it ships.