Permissions
The read-only user and the read-only role both get exactly these actions, and nothing else (the policy):ec2:DescribeRegionsec2:DescribeInstanceslambda:ListFunctionsrds:DescribeDBInstancesdynamodb:ListTablesecs:ListClustersecs:DescribeClusterssqs:ListQueuesacm:ListCertificatesecr:DescribeRepositoriessecretsmanager:ListSecretss3:ListAllMyBucketscloudfront:ListDistributionsroute53:ListHostedZonesce:GetCostAndUsageapigateway:GETonarn:aws:apigateway:*::/apisandarn:aws:apigateway:*::/restapis
Connect
- Read-only role (recommended)
- Access key for a read-only user
- Open AWS CloudShell in the account you want mapped (the >_ icon at the top of the AWS console).
- Paste the command Xerg shows you. It creates a role named XergReadOnly that only Xerg can use, and prints its ARN.
- Paste the ARN into Xerg. To revoke later, delete the xerg-readonly stack.