Difference between revisions of "AWS: AccessDeniedException"
Jump to navigation
Jump to search
(16 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | An error occurred (AccessDeniedException) when calling the GetCostAndUsage operation: User not enabled for [[cost explorer]] access | + | An error occurred (AccessDeniedException) when calling the [[GetCostAndUsage]] operation: User not enabled for [[cost explorer]] access |
− | An error occurred (AccessDeniedException) when calling the ListAccounts operation: You don't have permissions to access this resource. | + | An error occurred (AccessDeniedException) when calling the [[ListAccounts]] operation: [[You don't have permissions to access this resource.]] |
+ | === is not authorized to perform === | ||
+ | An error occurred ([[AccessDeniedException]]) when calling the DescribeImageScanFindings operation: User: arn:aws:iam::012345678912:user/your-read-only-user is not authorized to perform: [[inspector2:ListFindings]] on resource: arn:aws:inspector2:eu-central-1:012345678912:/findings/list | ||
+ | |||
+ | Error: unable to describe cluster control plane: AccessDeniedException: User: arn:aws:iam::0987654321:user/YOUR_USER is not authorized to perform: [[eks:DescribeCluster]] on resource: arn:aws:eks:xx-east-2:0987654321:cluster/my-eks-cluster-name with an explicit deny | ||
+ | |||
+ | An error occurred (AccessDeniedException) when calling the ListClusters operation: User: | ||
+ | arn:aws:iam::1234567890:user/myuser is not authorized to perform: [[eks:ListClusters]] on resource: arn:aws:eks:us-east- 1:1234567890:cluster/* | ||
+ | |||
+ | == Related == | ||
+ | * <code>[[aws iam list-attached-user-policies]]</code> | ||
+ | * <code>[[aws sts get-caller-identity]]</code> | ||
+ | * <code>[[AccessDenied]]</code> | ||
+ | * [[AWS policies]] | ||
+ | * <code>[[AWSOrganizationsNotInUseException]]</code> | ||
+ | * [[GCP: AccessDeniedException]] | ||
== See also == | == See also == | ||
− | * {{ | + | * {{aws iam}} |
+ | * {{aws cli}} | ||
[[Category:AWS]] | [[Category:AWS]] |
Latest revision as of 10:44, 19 February 2024
An error occurred (AccessDeniedException) when calling the GetCostAndUsage operation: User not enabled for cost explorer access
An error occurred (AccessDeniedException) when calling the ListAccounts operation: You don't have permissions to access this resource.
is not authorized to perform[edit]
An error occurred (AccessDeniedException) when calling the DescribeImageScanFindings operation: User: arn:aws:iam::012345678912:user/your-read-only-user is not authorized to perform: inspector2:ListFindings on resource: arn:aws:inspector2:eu-central-1:012345678912:/findings/list
Error: unable to describe cluster control plane: AccessDeniedException: User: arn:aws:iam::0987654321:user/YOUR_USER is not authorized to perform: eks:DescribeCluster on resource: arn:aws:eks:xx-east-2:0987654321:cluster/my-eks-cluster-name with an explicit deny
An error occurred (AccessDeniedException) when calling the ListClusters operation: User: arn:aws:iam::1234567890:user/myuser is not authorized to perform: eks:ListClusters on resource: arn:aws:eks:us-east- 1:1234567890:cluster/*
Related[edit]
aws iam list-attached-user-policies
aws sts get-caller-identity
AccessDenied
- AWS policies
AWSOrganizationsNotInUseException
- GCP: AccessDeniedException
See also[edit]
aws iam
[create-user
,create-group, get-user
,list-users
|list-policies
|list-attached-user-policies
|attach-user-policy
|list-attached-user-policies
|list-roles
|get-account-summary
|put-group-policy | put-role-policy | put-user-policy
|create-login-profile
|aws iam delete-virtual-mfa-device
|aws iam list-virtual-mfa-devices
|aws iam create-saml-provider
|aws iam list-account-aliases
|aws iam create-role | aws iam change-password| enable-mfa-device | list-instance-profiles
- AWS CLI,
aws
[configure
|iam
|ec2
|ecs
|eks
|s3
|rds
|sts
|cloudwatch
|cloudformation
|cloudfront
|eventbridge
|lambda
],aws configure list
,.aws/credentials
,.aws/config
,~/.aws/cli/alias
,--output [ table | json | text | XXX ]
, Aws cli environmental variables:AWS_PROFILE
,AWS_DEFAULT_REGION, AWS_REGION
,AWS_CLI_AUTO_PROMPT
,AWS_SESSION_TOKEN
,aws list all
,auto-prompt
,--version
,whoamiaws, --filters, --help
Advertising: