AWS IAM
Security

AWS IAM Connector

Manage IAM roles, policies, instance profiles, and access keys.

$pip install "toolsconnector[iam]"
20
Actions
Security
Category
Free
Apache 2.0

All 20 Actions

Action Description Parameters Returns
add_role_to_instance_profileAdd a role to an instance profileinstance_profile_name, role_namedict
attach_role_policyAttach a managed policy to a rolerole_name, policy_arndict
create_access_keyCreate an access key for a user[user_name]IAMAccessKey
create_instance_profileCreate an instance profileinstance_profile_name  [path]IAMInstanceProfile
create_policyCreate an IAM policypolicy_name, policy_document  [description, path]IAMPolicy
create_roleCreate an IAM rolerole_name, assume_role_policy_document  [description, path]IAMRole
delete_access_key ⚠Delete an access keyaccess_key_id  [user_name]dict
delete_policy ⚠Delete an IAM policypolicy_arndict
delete_role ⚠Delete an IAM rolerole_namedict
detach_role_policyDetach a managed policy from a rolerole_name, policy_arndict
get_policyGet an IAM policypolicy_arnIAMPolicy
get_roleGet an IAM rolerole_nameIAMRole
get_userGet the current IAM user[user_name]IAMUser
list_access_keysList access keys for a user[user_name]list
list_attached_role_policiesList managed policies attached to a rolerole_namelist
list_instance_profilesList instance profiles[path_prefix]list
list_policiesList IAM policies[scope, only_attached]list
list_rolesList IAM roles[path_prefix]list
list_usersList IAM users[path_prefix]list
remove_role_from_instance_profileRemove a role from an instance profileinstance_profile_name, role_namedict
Open Interactive Docs & Playground →

Full schema explorer, code generation, and live API testing