AptlyStar

AWS IAM

Manage AWS IAM users, roles, policies, and groups

Nutzungsanweisungen

Integrate AWS Identity and Access Management into your workflow. Create and manage users, roles, policies, groups, and access keys.

Tools

iam_list_users

List IAM users in your AWS account

Eingabe

ParameterTypErforderlichBeschreibung
regionstringJaAWS region (e.g., us-east-1)
accessKeyIdstringJaAWS access key ID
secretAccessKeystringJaAWS secret access key
pathPrefixstringNeinPath prefix to filter users (e.g., /division_abc/)
maxItemsnumberNeinMaximum number of users to return (1-1000, default 100)
markerstringNeinPagination marker from a previous request

Ausgabe

ParameterTypBeschreibung
usersjsonList of IAM users with userName, userId, arn, path, and dates
isTruncatedbooleanWhether there are more results available
markerstringPagination marker for the next page of results
countnumberNumber of users returned

iam_get_user

Get detailed information about an IAM user

Eingabe

ParameterTypErforderlichBeschreibung
regionstringJaAWS region (e.g., us-east-1)
accessKeyIdstringJaAWS access key ID
secretAccessKeystringJaAWS secret access key
userNamestringNeinThe name of the IAM user to retrieve (defaults to the caller if omitted)

Ausgabe

ParameterTypBeschreibung
userNamestringThe name of the user
userIdstringThe unique ID of the user
arnstringThe ARN of the user
pathstringThe path to the user
createDatestringDate the user was created
passwordLastUsedstringDate the password was last used
permissionsBoundaryArnstringARN of the permissions boundary policy
tagsjsonTags attached to the user (key, value pairs)

iam_create_user

Create a new IAM user

Eingabe

ParameterTypErforderlichBeschreibung
regionstringJaAWS region (e.g., us-east-1)
accessKeyIdstringJaAWS access key ID
secretAccessKeystringJaAWS secret access key
userNamestringJaName for the new IAM user (1-64 characters)
pathstringNeinPath for the user (e.g., /division_abc/), defaults to /

Ausgabe

ParameterTypBeschreibung
messagestringOperation status message
userNamestringThe name of the created user
userIdstringThe unique ID of the created user
arnstringThe ARN of the created user
pathstringThe path of the created user
createDatestringDate the user was created

iam_delete_user

Delete an IAM user

Eingabe

ParameterTypErforderlichBeschreibung
regionstringJaAWS region (e.g., us-east-1)
accessKeyIdstringJaAWS access key ID
secretAccessKeystringJaAWS secret access key
userNamestringJaThe name of the IAM user to delete

Ausgabe

ParameterTypBeschreibung
messagestringOperation status message

iam_list_roles

List IAM roles in your AWS account

Eingabe

ParameterTypErforderlichBeschreibung
regionstringJaAWS region (e.g., us-east-1)
accessKeyIdstringJaAWS access key ID
secretAccessKeystringJaAWS secret access key
pathPrefixstringNeinPath prefix to filter roles (e.g., /application/)
maxItemsnumberNeinMaximum number of roles to return (1-1000, default 100)
markerstringNeinPagination marker from a previous request

Ausgabe

ParameterTypBeschreibung
rolesjsonList of IAM roles with roleName, roleId, arn, path, and dates
isTruncatedbooleanWhether there are more results available
markerstringPagination marker for the next page of results
countnumberNumber of roles returned

iam_get_role

Get detailed information about an IAM role

Eingabe

ParameterTypErforderlichBeschreibung
regionstringJaAWS region (e.g., us-east-1)
accessKeyIdstringJaAWS access key ID
secretAccessKeystringJaAWS secret access key
roleNamestringJaThe name of the IAM role to retrieve

Ausgabe

ParameterTypBeschreibung
roleNamestringThe name of the role
roleIdstringThe unique ID of the role
arnstringThe ARN of the role
pathstringThe path to the role
createDatestringDate the role was created
descriptionstringDescription of the role
maxSessionDurationnumberMaximum session duration in seconds
assumeRolePolicyDocumentstringThe trust policy document (JSON)
roleLastUsedDatestringDate the role was last used
roleLastUsedRegionstringAWS region where the role was last used

iam_create_role

Create a new IAM role with a trust policy

Eingabe

ParameterTypErforderlichBeschreibung
regionstringJaAWS region (e.g., us-east-1)
accessKeyIdstringJaAWS access key ID
secretAccessKeystringJaAWS secret access key
roleNamestringJaName for the new IAM role (1-64 characters)
assumeRolePolicyDocumentstringJaTrust policy JSON specifying who can assume this role
descriptionstringNeinDescription of the role
pathstringNeinPath for the role (e.g., /application/), defaults to /
maxSessionDurationnumberNeinMaximum session duration in seconds (3600-43200, default 3600)

Ausgabe

ParameterTypBeschreibung
messagestringOperation status message
roleNamestringThe name of the created role
roleIdstringThe unique ID of the created role
arnstringThe ARN of the created role
pathstringThe path of the created role
createDatestringDate the role was created

iam_delete_role

Delete an IAM role

Eingabe

ParameterTypErforderlichBeschreibung
regionstringJaAWS region (e.g., us-east-1)
accessKeyIdstringJaAWS access key ID
secretAccessKeystringJaAWS secret access key
roleNamestringJaThe name of the IAM role to delete

Ausgabe

ParameterTypBeschreibung
messagestringOperation status message

iam_attach_user_policy

Attach a managed policy to an IAM user

Eingabe

ParameterTypErforderlichBeschreibung
regionstringJaAWS region (e.g., us-east-1)
accessKeyIdstringJaAWS access key ID
secretAccessKeystringJaAWS secret access key
userNamestringJaThe name of the IAM user
policyArnstringJaThe ARN of the managed policy to attach

Ausgabe

ParameterTypBeschreibung
messagestringOperation status message

iam_detach_user_policy

Remove a managed policy from an IAM user

Eingabe

ParameterTypErforderlichBeschreibung
regionstringJaAWS region (e.g., us-east-1)
accessKeyIdstringJaAWS access key ID
secretAccessKeystringJaAWS secret access key
userNamestringJaThe name of the IAM user
policyArnstringJaThe ARN of the managed policy to detach

Ausgabe

ParameterTypBeschreibung
messagestringOperation status message

iam_attach_role_policy

Attach a managed policy to an IAM role

Eingabe

ParameterTypErforderlichBeschreibung
regionstringJaAWS region (e.g., us-east-1)
accessKeyIdstringJaAWS access key ID
secretAccessKeystringJaAWS secret access key
roleNamestringJaThe name of the IAM role
policyArnstringJaThe ARN of the managed policy to attach

Ausgabe

ParameterTypBeschreibung
messagestringOperation status message

iam_detach_role_policy

Remove a managed policy from an IAM role

Eingabe

ParameterTypErforderlichBeschreibung
regionstringJaAWS region (e.g., us-east-1)
accessKeyIdstringJaAWS access key ID
secretAccessKeystringJaAWS secret access key
roleNamestringJaThe name of the IAM role
policyArnstringJaThe ARN of the managed policy to detach

Ausgabe

ParameterTypBeschreibung
messagestringOperation status message

iam_list_policies

List managed IAM policies

Eingabe

ParameterTypErforderlichBeschreibung
regionstringJaAWS region (e.g., us-east-1)
accessKeyIdstringJaAWS access key ID
secretAccessKeystringJaAWS secret access key
scopestringNeinFilter by scope: All, AWS (AWS-managed), or Local (customer-managed)
onlyAttachedbooleanNeinIf true, only return policies attached to an entity
pathPrefixstringNeinPath prefix to filter policies
maxItemsnumberNeinMaximum number of policies to return (1-1000, default 100)
markerstringNeinPagination marker from a previous request

Ausgabe

ParameterTypBeschreibung
policiesjsonList of policies with policyName, arn, attachmentCount, and dates
isTruncatedbooleanWhether there are more results available
markerstringPagination marker for the next page of results
countnumberNumber of policies returned

iam_create_access_key

Create a new access key pair for an IAM user

Eingabe

ParameterTypErforderlichBeschreibung
regionstringJaAWS region (e.g., us-east-1)
accessKeyIdstringJaAWS access key ID
secretAccessKeystringJaAWS secret access key
userNamestringNeinThe IAM user to create the key for (defaults to current user)

Ausgabe

ParameterTypBeschreibung
messagestringOperation status message
accessKeyIdstringThe new access key ID
secretAccessKeystringThe new secret access key (only shown once)
userNamestringThe user the key was created for
statusstringStatus of the access key (Active)
createDatestringDate the key was created

iam_delete_access_key

Delete an access key pair for an IAM user

Eingabe

ParameterTypErforderlichBeschreibung
regionstringJaAWS region (e.g., us-east-1)
accessKeyIdstringJaAWS access key ID
secretAccessKeystringJaAWS secret access key
accessKeyIdToDeletestringJaThe access key ID to delete
userNamestringNeinThe IAM user whose key to delete (defaults to current user)

Ausgabe

ParameterTypBeschreibung
messagestringOperation status message

iam_list_groups

List IAM groups in your AWS account

Eingabe

ParameterTypErforderlichBeschreibung
regionstringJaAWS region (e.g., us-east-1)
accessKeyIdstringJaAWS access key ID
secretAccessKeystringJaAWS secret access key
pathPrefixstringNeinPath prefix to filter groups
maxItemsnumberNeinMaximum number of groups to return (1-1000, default 100)
markerstringNeinPagination marker from a previous request

Ausgabe

ParameterTypBeschreibung
groupsjsonList of IAM groups with groupName, groupId, arn, and path
isTruncatedbooleanWhether there are more results available
markerstringPagination marker for the next page of results
countnumberNumber of groups returned

iam_add_user_to_group

Add an IAM user to a group

Eingabe

ParameterTypErforderlichBeschreibung
regionstringJaAWS region (e.g., us-east-1)
accessKeyIdstringJaAWS access key ID
secretAccessKeystringJaAWS secret access key
userNamestringJaThe name of the IAM user
groupNamestringJaThe name of the IAM group

Ausgabe

ParameterTypBeschreibung
messagestringOperation status message

iam_remove_user_from_group

Remove an IAM user from a group

Eingabe

ParameterTypErforderlichBeschreibung
regionstringJaAWS region (e.g., us-east-1)
accessKeyIdstringJaAWS access key ID
secretAccessKeystringJaAWS secret access key
userNamestringJaThe name of the IAM user
groupNamestringJaThe name of the IAM group

Ausgabe

ParameterTypBeschreibung
messagestringOperation status message

iam_list_attached_role_policies

List all managed policies attached to an IAM role

Eingabe

ParameterTypErforderlichBeschreibung
regionstringJaAWS region (e.g., us-east-1)
accessKeyIdstringJaAWS access key ID
secretAccessKeystringJaAWS secret access key
roleNamestringJaName of the IAM role
pathPrefixstringNeinPath prefix to filter policies (e.g., /application/)
maxItemsnumberNeinMaximum number of policies to return (1-1000)
markerstringNeinPagination marker from a previous request

Ausgabe

ParameterTypBeschreibung
attachedPoliciesjsonList of attached policies with policyName and policyArn
isTruncatedbooleanWhether there are more results available
markerstringPagination marker for the next page of results
countnumberNumber of attached policies returned

iam_list_attached_user_policies

List all managed policies attached to an IAM user

Eingabe

ParameterTypErforderlichBeschreibung
regionstringJaAWS region (e.g., us-east-1)
accessKeyIdstringJaAWS access key ID
secretAccessKeystringJaAWS secret access key
userNamestringJaName of the IAM user
pathPrefixstringNeinPath prefix to filter policies (e.g., /application/)
maxItemsnumberNeinMaximum number of policies to return (1-1000)
markerstringNeinPagination marker from a previous request

Ausgabe

ParameterTypBeschreibung
attachedPoliciesjsonList of attached policies with policyName and policyArn
isTruncatedbooleanWhether there are more results available
markerstringPagination marker for the next page of results
countnumberNumber of attached policies returned

iam_simulate_principal_policy

Simulate whether a user, role, or group is allowed to perform specific AWS actions — useful for pre-flight access checks

Eingabe

ParameterTypErforderlichBeschreibung
regionstringJaAWS region (e.g., us-east-1)
accessKeyIdstringJaAWS access key ID
secretAccessKeystringJaAWS secret access key
policySourceArnstringJaARN of the user, group, or role to simulate (e.g., arn:aws:iam::123456789012:user/alice)
actionNamesstringJaComma-separated list of AWS actions to simulate (e.g., s3:GetObject,ec2:DescribeInstances)
resourceArnsstringNeinComma-separated list of resource ARNs to simulate against (defaults to * if not provided)
maxResultsnumberNeinMaximum number of simulation results to return (1-1000)
markerstringNeinPagination marker from a previous request

Ausgabe

ParameterTypBeschreibung
evaluationResultsjsonSimulation results per action: evalActionName, evalResourceName, evalDecision (allowed/explicitDeny/implicitDeny), matchedStatements (sourcePolicyId, sourcePolicyType), missingContextValues
isTruncatedbooleanWhether there are more results available
markerstringPagination marker for the next page of results
countnumberNumber of evaluation results returned

On this page