Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
proc
/
thread-self
/
root
/
lib
/
python2.7
/
site-packages
/
awscli
/
examples
/
iam
/
File Content:
get-account-authorization-details.rst
The following ``get-account-authorization-details`` command returns information about all IAM users, groups, roles, and policies in the AWS account:: aws iam get-account-authorization-details Output:: { "RoleDetailList": [ { "AssumeRolePolicyDocument": { "Version": "2012-10-17", "Statement": [ { "Sid": "", "Effect": "Allow", "Principal": { "Service": "ec2.amazonaws.com" }, "Action": "sts:AssumeRole" } ] }, "RoleId": "AROAFP4BKI7Y7TEXAMPLE", "CreateDate": "2014-07-30T17:09:20Z", "InstanceProfileList": [ { "InstanceProfileId": "AIPAFFYRBHWXW2EXAMPLE", "Roles": [ { "AssumeRolePolicyDocument": { "Version":"2012-10-17", "Statement": [ { "Sid":"", "Effect":"Allow", "Principal": { "Service":"ec2.amazonaws.com" }, "Action":"sts:AssumeRole" } ] }, "RoleId": "AROAFP4BKI7Y7TEXAMPLE", "CreateDate": "2014-07-30T17:09:20Z", "RoleName": "EC2role", "Path": "/", "Arn": "arn:aws:iam::123456789012:role/EC2role" } ], "CreateDate": "2014-07-30T17:09:20Z", "InstanceProfileName": "EC2role", "Path": "/", "Arn": "arn:aws:iam::123456789012:instance-profile/EC2role" } ], "RoleName": "EC2role", "Path": "/", "AttachedManagedPolicies": [ { "PolicyName": "AmazonS3FullAccess", "PolicyArn": "arn:aws:iam::aws:policy/AmazonS3FullAccess" }, { "PolicyName": "AmazonDynamoDBFullAccess", "PolicyArn": "arn:aws:iam::aws:policy/AmazonDynamoDBFullAccess" } ], "RolePolicyList": [], "Arn": "arn:aws:iam::123456789012:role/EC2role" }], "GroupDetailList": [ { "GroupId": "AIDACKCEVSQ6C7EXAMPLE", "AttachedManagedPolicies": { "PolicyName": "AdministratorAccess", "PolicyArn": "arn:aws:iam::aws:policy/AdministratorAccess" }, "GroupName": "Admins", "Path": "/", "Arn": "arn:aws:iam::123456789012:group/Admins", "CreateDate": "2013-10-14T18:32:24Z", "GroupPolicyList": [] }, { "GroupId": "AIDACKCEVSQ6C8EXAMPLE", "AttachedManagedPolicies": { "PolicyName": "PowerUserAccess", "PolicyArn": "arn:aws:iam::aws:policy/PowerUserAccess" }, "GroupName": "Dev", "Path": "/", "Arn": "arn:aws:iam::123456789012:group/Dev", "CreateDate": "2013-10-14T18:33:55Z", "GroupPolicyList": [] }, { "GroupId": "AIDACKCEVSQ6C9EXAMPLE", "AttachedManagedPolicies": [], "GroupName": "Finance", "Path": "/", "Arn": "arn:aws:iam::123456789012:group/Finance", "CreateDate": "2013-10-14T18:57:48Z", "GroupPolicyList": [ { "PolicyName": "policygen-201310141157", "PolicyDocument": { "Version":"2012-10-17", "Statement": [ { "Action": "aws-portal:*", "Sid":"Stmt1381777017000", "Resource": "*", "Effect":"Allow" } ] } } ] }], "UserDetailList": [ { "UserName": "Alice", "GroupList": [ "Admins" ], "CreateDate": "2013-10-14T18:32:24Z", "UserId": "AIDACKCEVSQ6C2EXAMPLE", "UserPolicyList": [], "Path": "/", "AttachedManagedPolicies": [], "Arn": "arn:aws:iam::123456789012:user/Alice" }, { "UserName": "Bob", "GroupList": [ "Admins" ], "CreateDate": "2013-10-14T18:32:25Z", "UserId": "AIDACKCEVSQ6C3EXAMPLE", "UserPolicyList": [ { "PolicyName": "DenyBillingAndIAMPolicy", "PolicyDocument": { "Version":"2012-10-17", "Statement": { "Effect":"Deny", "Action": [ "aws-portal:*", "iam:*" ], "Resource":"*" } } } ], "Path": "/", "AttachedManagedPolicies": [], "Arn": "arn:aws:iam::123456789012:user/Bob" }, { "UserName": "Charlie", "GroupList": [ "Dev" ], "CreateDate": "2013-10-14T18:33:56Z", "UserId": "AIDACKCEVSQ6C4EXAMPLE", "UserPolicyList": [], "Path": "/", "AttachedManagedPolicies": [], "Arn": "arn:aws:iam::123456789012:user/Charlie" }], "Policies": [ { "PolicyName": "create-update-delete-set-managed-policies", "CreateDate": "2015-02-06T19:58:34Z", "AttachmentCount": 1, "IsAttachable": true, "PolicyId": "ANPAJ2UCCR6DPCEXAMPLE", "DefaultVersionId": "v1", "PolicyVersionList": [ { "CreateDate": "2015-02-06T19:58:34Z", "VersionId": "v1", "Document": { "Version":"2012-10-17", "Statement": { "Effect":"Allow", "Action": [ "iam:CreatePolicy", "iam:CreatePolicyVersion", "iam:DeletePolicy", "iam:DeletePolicyVersion", "iam:GetPolicy", "iam:GetPolicyVersion", "iam:ListPolicies", "iam:ListPolicyVersions", "iam:SetDefaultPolicyVersion" ], "Resource": "*" } }, "IsDefaultVersion": true } ], "Path": "/", "Arn": "arn:aws:iam::123456789012:policy/create-update-delete-set-managed-policies", "UpdateDate": "2015-02-06T19:58:34Z" }, { "PolicyName": "S3-read-only-specific-bucket", "CreateDate": "2015-01-21T21:39:41Z", "AttachmentCount": 1, "IsAttachable": true, "PolicyId": "ANPAJ4AE5446DAEXAMPLE", "DefaultVersionId": "v1", "PolicyVersionList": [ { "CreateDate": "2015-01-21T21:39:41Z", "VersionId": "v1", "Document": { "Version":"2012-10-17", "Statement": [ { "Effect":"Allow", "Action": [ "s3:Get*", "s3:List*" ], "Resource": [ "arn:aws:s3:::example-bucket", "arn:aws:s3:::example-bucket/*" ] } ] }, "IsDefaultVersion": true } ], "Path": "/", "Arn": "arn:aws:iam::123456789012:policy/S3-read-only-specific-bucket", "UpdateDate": "2015-01-21T23:39:41Z" }, { "PolicyName": "AmazonEC2FullAccess", "CreateDate": "2015-02-06T18:40:15Z", "AttachmentCount": 1, "IsAttachable": true, "PolicyId": "ANPAE3QWE5YT46TQ34WLG", "DefaultVersionId": "v1", "PolicyVersionList": [ { "CreateDate": "2014-10-30T20:59:46Z", "VersionId": "v1", "Document": { "Version":"2012-10-17", "Statement": [ { "Action":"ec2:*", "Effect":"Allow", "Resource":"*" }, { "Effect":"Allow", "Action":"elasticloadbalancing:*", "Resource":"*" }, { "Effect":"Allow", "Action":"cloudwatch:*", "Resource":"*" }, { "Effect":"Allow", "Action":"autoscaling:*", "Resource":"*" } ] }, "IsDefaultVersion": true } ], "Path": "/", "Arn": "arn:aws:iam::aws:policy/AmazonEC2FullAccess", "UpdateDate": "2015-02-06T18:40:15Z" }], "Marker": "EXAMPLEkakv9BCuUNFDtxWSyfzetYwEx2ADc8dnzfvERF5S6YMvXKx41t6gCl/eeaCX3Jo94/bKqezEAg8TEVS99EKFLxm3jtbpl25FDWEXAMPLE", "IsTruncated": true }
Submit
FILE
FOLDER
Name
Size
Permission
Action
add-client-id-to-open-id-connect-provider.rst
709 bytes
0644
add-role-to-instance-profile.rst
650 bytes
0644
add-user-to-group.rst
445 bytes
0644
attach-group-policy.rst
509 bytes
0644
attach-role-policy.rst
514 bytes
0644
attach-user-policy.rst
510 bytes
0644
change-password.rst
1641 bytes
0644
create-access-key.rst
842 bytes
0644
create-account-alias.rst
394 bytes
0644
create-group.rst
594 bytes
0644
create-instance-profile.rst
921 bytes
0644
create-login-profile.rst
2139 bytes
0644
create-open-id-connect-provider.rst
2405 bytes
0644
create-policy-version.rst
733 bytes
0644
create-policy.rst
1301 bytes
0644
create-role.rst
981 bytes
0644
create-saml-provider.rst
579 bytes
0644
create-user.rst
622 bytes
0644
create-virtual-mfa-device.rst
784 bytes
0644
deactivate-mfa-device.rst
543 bytes
0644
delete-access-key.rst
620 bytes
0644
delete-account-alias.rst
403 bytes
0644
delete-account-password-policy.rst
419 bytes
0644
delete-group-policy.rst
506 bytes
0644
delete-group.rst
340 bytes
0644
delete-instance-profile.rst
403 bytes
0644
delete-login-profile.rst
369 bytes
0644
delete-open-id-connect-provider.rst
526 bytes
0644
delete-policy-version.rst
471 bytes
0644
delete-policy.rst
399 bytes
0644
delete-role-policy.rst
409 bytes
0644
delete-role.rst
696 bytes
0644
delete-saml-provider.rst
446 bytes
0644
delete-signing-certificate.rst
612 bytes
0644
delete-user-policy.rst
525 bytes
0644
delete-user.rst
390 bytes
0644
delete-virtual-mfa-device.rst
446 bytes
0644
detach-group-policy.rst
484 bytes
0644
detach-role-policy.rst
511 bytes
0644
detach-user-policy.rst
454 bytes
0644
enable-mfa-device.rst
803 bytes
0644
generate-credential-report.rst
513 bytes
0644
get-access-key-last-used.rst
636 bytes
0644
get-account-authorization-details.rst
8896 bytes
0644
get-account-password-policy.rst
820 bytes
0644
get-account-summary.rst
1285 bytes
0644
get-credential-report.rst
491 bytes
0644
get-group-policy.rst
877 bytes
0644
get-group.rst
586 bytes
0644
get-instance-profile.rst
1136 bytes
0644
get-login-profile.rst
891 bytes
0644
get-open-id-connect-provider.rst
808 bytes
0644
get-policy-version.rst
846 bytes
0644
get-policy.rst
852 bytes
0644
get-role-policy.rst
928 bytes
0644
get-role.rst
789 bytes
0644
get-saml-provider.rst
632 bytes
0644
get-user-policy.rst
873 bytes
0644
get-user.rst
574 bytes
0644
list-access-keys.rst
1003 bytes
0644
list-account-aliases.rst
414 bytes
0644
list-attached-group-policies.rst
778 bytes
0644
list-attached-role-policies.rst
659 bytes
0644
list-attached-user-policies.rst
751 bytes
0644
list-entities-for-policy.rst
772 bytes
0644
list-group-policies.rst
562 bytes
0644
list-groups-for-user.rst
896 bytes
0644
list-groups.rst
824 bytes
0644
list-instance-profiles-for-role.rst
1135 bytes
0644
list-instance-profiles.rst
2338 bytes
0644
list-mfa-devices.rst
631 bytes
0644
list-open-id-connect-providers.rst
618 bytes
0644
list-policies.rst
1283 bytes
0644
list-policy-versions.rst
802 bytes
0644
list-role-policies.rst
597 bytes
0644
list-roles.rst
1491 bytes
0644
list-saml-providers.rst
580 bytes
0644
list-signing-certificates.rst
788 bytes
0644
list-user-policies.rst
492 bytes
0644
list-users.rst
755 bytes
0644
list-virtual-mfa-devices.rst
628 bytes
0644
put-group-policy.rst
548 bytes
0644
put-role-policy.rst
650 bytes
0644
put-user-policy.rst
592 bytes
0644
remove-client-id-from-open-id-connect-provider.rst
727 bytes
0644
remove-role-from-instance-profile.rst
491 bytes
0644
remove-user-from-group.rst
474 bytes
0644
resync-mfa-device.rst
705 bytes
0644
set-default-policy-version.rst
527 bytes
0644
update-access-key.rst
715 bytes
0644
update-account-password-policy.rst
749 bytes
0644
update-assume-role-policy.rst
710 bytes
0644
update-group.rst
394 bytes
0644
update-login-profile.rst
895 bytes
0644
update-open-id-connect-provider-thumbprint.rst
698 bytes
0644
update-saml-provider.rst
676 bytes
0644
update-signing-certificate.rst
650 bytes
0644
update-user.rst
393 bytes
0644
upload-server-certificate.rst
1166 bytes
0644
upload-signing-certificate.rst
898 bytes
0644
N4ST4R_ID | Naxtarrr