Skip to main content

AWS - IAM Identity Center

This Integration is part of the AWS - IAM Identity Center Pack.#

Amazon Web Services Identity and Access Management Identity Center(IAM)

For detailed instructions about setting up authentication, see: AWS Integrations - Authentication.

Configure AWS - IAM Identity Center in Cortex#

ParameterDescriptionRequired
Role ArnFalse
Role Session NameA descriptive name for the assumed role session.False
AWS Default RegionTrue
Role Session DurationFalse
Identity Store IDThe Identity Store ID parameter is required for API requests. It can be provided as a parameter or as an argument. If the Identity Store ID was not specified - Test failure.False
Access KeyFalse
Secret KeyFalse
Access KeyFalse
Secret KeyFalse
TimeoutThe time in seconds until a timeout exception is reached. You can specify just the read timeout (for example 60) or also the connect timeout followed after a comma (for example 60,10). If a connect timeout is not specified, a default of 10 seconds will be used.False
RetriesThe maximum number of retry attempts when connection or throttling errors are encountered. Set to 0 to disable retries. The default value is 5 and the limit is 10. Note: Increasing the number of retries will increase the execution time.False
Trust any certificate (not secure)False

Commands#

You can execute these commands from the CLI, as part of an automation, or in a playbook. After you successfully execute a command, a DBot message appears in the War Room with the command details.

aws-iam-identitycenter-create-user#


Creates a new IAM Identity Center user for your AWS account.

Base Command#

aws-iam-identitycenter-create-user

Input#

Argument NameDescriptionRequired
userNameThe username of the user to create.Required
familyNameThe family name of the user to create.Required
givenNameThe first name of the user to create.Required
userEmailAddressThe email address of the user to create.Optional
displayNameThe display name of the user to create.Required
profileUrlThe profile URL of the user to create.Optional
userEmailAddressPrimaryIs this the primary email address for the associated resource?. Possible values are: yes, no.Optional
userTypeThe type of the user to create.Optional
titleThe title of the user to create.Optional
regionThe AWS Region. If not specified, the default region will be used. Possible values are: us-east-1, us-east-2, us-west-1, us-west-2, ca-central-1, eu-west-1, eu-central-1, eu-west-2, ap-northeast-1, ap-northeast-2, ap-southeast-1, ap-southeast-2, ap-south-1, sa-east-1, eu-north-1, eu-west-3.Optional
roleArnThe Amazon Resource Name.Optional
roleSessionDurationRole session duration.Optional
roleSessionNameRole session name.Optional
IdentityStoreIdIdentity store ID.Optional

Context Output#

PathTypeDescription
AWS.IAMIdentityCenter.User.UserIdstringThe user ID.
AWS.IAMIdentityCenter.User.IdentityStoreIdstringIdentity Store ID.

Command example#

!aws-iam-identitycenter-create-user displayName="John Doe" familyName=Doe givenName=John userName=johndoe userEmailAddress=johnDoe@gmail.com

Context Example#

{
"AWS": {
"IAMIdentityCenter": {
"User": {
"IdentityStoreId": "d-9967750fbd",
"UserId": "634418e2-20c1-703e-4358-a8312472c85d"
}
}
}
}

Human Readable Output#

User johndoe has been successfully created with user id 634418e2-20c1-703e-4358-a8312472c85d#

IdentityStoreIdUserId
d-9967750fbd634418e2-20c1-703e-4358-a8312472c85d

aws-iam-identitycenter-get-user#


Retrieves information about the specified IAM user.

Base Command#

aws-iam-identitycenter-get-user

Input#

Argument NameDescriptionRequired
regionThe AWS Region. If not specified, the default region will be used. Possible values are: us-east-1, us-east-2, us-west-1, us-west-2, ca-central-1, eu-west-1, eu-central-1, eu-west-2, ap-northeast-1, ap-northeast-2, ap-southeast-1, ap-southeast-2, ap-south-1, sa-east-1, eu-north-1, eu-west-3.Optional
roleArnThe Amazon Resource Name.Optional
roleSessionDurationRole session duration.Optional
roleSessionNameRole session name.Optional
IdentityStoreIdIdentity store ID.Optional
userNameThe name of the user to get information about.Required

Context Output#

PathTypeDescription
AWS.IAMIdentityCenter.User.UserNamestringThe friendly name identifying the user.
AWS.IAMIdentityCenter.User.UserIdstringThe stable and unique string identifying the user.
AWS.IAMIdentityCenter.User.ExternalIds.IssuerStringThe issuer for an external identifier.
AWS.IAMIdentityCenter.User.ExternalIds.IdStringThe identifier issued to this resource by an external identity provider.
AWS.IAMIdentityCenter.User.Name.FormattedStringFormatted version of the user's name for display.
AWS.IAMIdentityCenter.User.Name.FamilyNameStringThe family name of the user.
AWS.IAMIdentityCenter.User.Name.GivenNameStringThe given name of the user.
AWS.IAMIdentityCenter.User.Name.MiddleNameStringThe middle name of the user.
AWS.IAMIdentityCenter.User.Name.HonorificPrefixStringThe honorific prefix of the user.
AWS.IAMIdentityCenter.User.Name.HonorificSuffixStringThe honorific suffix of the user.
AWS.IAMIdentityCenter.User.DisplayNameStringThe name of the user formatted for display when referenced.
AWS.IAMIdentityCenter.User.NickNameStringAn alternate name for the user.
AWS.IAMIdentityCenter.User.ProfileUrlStringURL associated with the user.
AWS.IAMIdentityCenter.User.Emails.ValueStringEmail address associated with the user.
AWS.IAMIdentityCenter.User.Emails.TypeStringType of email address.
AWS.IAMIdentityCenter.User.Emails.PrimaryStringIndicates whether this is the primary email address.
AWS.IAMIdentityCenter.User.Addresses.StreetAddressStringStreet address.
AWS.IAMIdentityCenter.User.Addresses.LocalityStringAddress locality.
AWS.IAMIdentityCenter.User.Addresses.RegionStringRegion of the address.
AWS.IAMIdentityCenter.User.Addresses.PostalCodeStringPostal code of the address.
AWS.IAMIdentityCenter.User.Addresses.CountryStringCountry of the address.
AWS.IAMIdentityCenter.User.Addresses.FormattedStringFormatted version of the address for display.
AWS.IAMIdentityCenter.User.Addresses.TypeStringType of address.
AWS.IAMIdentityCenter.User.Addresses.PrimaryStringIndicates whether this is the primary address.
AWS.IAMIdentityCenter.User.PhoneNumbers.ValueStringPhone number associated with the user.
AWS.IAMIdentityCenter.User.PhoneNumbers.TypeStringType of phone number.
AWS.IAMIdentityCenter.User.PhoneNumbers.PrimaryStringIndicates whether this is the primary phone number.
AWS.IAMIdentityCenter.User.UserTypeStringType of user.
AWS.IAMIdentityCenter.User.TitleStringTitle of the user.
AWS.IAMIdentityCenter.User.PreferredLanguageStringPreferred language of the user.
AWS.IAMIdentityCenter.User.LocaleStringGeographical region or location of the user.
AWS.IAMIdentityCenter.User.TimezoneStringTime zone of the user.
AWS.IAMIdentityCenter.User.IdentityStoreIdStringGlobally unique identifier for the identity store.

Command example#

!aws-iam-identitycenter-get-user userName=johndoe

Context Example#

{
"AWS": {
"IAMIdentityCenter": {
"User": {
"DisplayName": "John Doe",
"Emails": [
{
"Value": "johnDoe@gmail.com"
}
],
"IdentityStoreId": "d-9967750fbd",
"Name": {
"FamilyName": "Doe",
"GivenName": "John"
},
"UserId": "634418e2-20c1-703e-4358-a8312472c85d",
"UserName": "johndoe"
}
}
}
}

Human Readable Output#

AWS IAM Identity Center Users#

DisplayNameEmailsUserIdUserName
John DoejohnDoe@gmail.com634418e2-20c1-703e-4358-a8312472c85djohndoe

aws-iam-identitycenter-list-users#


Lists the IAM users, returns all users in the AWS account.

Base Command#

aws-iam-identitycenter-list-users

Input#

Argument NameDescriptionRequired
regionThe AWS Region. If not specified, the default region will be used. Possible values are: us-east-1, us-east-2, us-west-1, us-west-2, ca-central-1, eu-west-1, eu-central-1, eu-west-2, ap-northeast-1, ap-northeast-2, ap-southeast-1, ap-southeast-2, ap-south-1, sa-east-1, eu-north-1, eu-west-3.Optional
roleArnThe Amazon Resource Name.Optional
roleSessionDurationRole session duration.Optional
roleSessionNameRole session name.Optional
IdentityStoreIdIdentity store ID.Optional
limitNumber of results to return. Default is 50.Optional
nextTokenThe pagination token.Optional

Context Output#

PathTypeDescription
AWS.IAMIdentityCenter.User.UserNamestringThe friendly name identifying the user.
AWS.IAMIdentityCenter.User.UserIdstringThe stable and unique string identifying the user.
AWS.IAMIdentityCenter.User.ExternalIds.IssuerStringThe issuer for an external identifier.
AWS.IAMIdentityCenter.User.ExternalIds.IdStringThe identifier issued to this resource by an external identity provider.
AWS.IAMIdentityCenter.User.Name.FormattedStringFormatted version of the user's name for display.
AWS.IAMIdentityCenter.User.Name.FamilyNameStringThe family name of the user.
AWS.IAMIdentityCenter.User.Name.GivenNameStringThe given name of the user.
AWS.IAMIdentityCenter.User.Name.MiddleNameStringThe middle name of the user.
AWS.IAMIdentityCenter.User.Name.HonorificPrefixStringThe honorific prefix of the user.
AWS.IAMIdentityCenter.User.Name.HonorificSuffixStringThe honorific suffix of the user.
AWS.IAMIdentityCenter.User.DisplayNameStringThe name of the user formatted for display when referenced.
AWS.IAMIdentityCenter.User.NickNameStringAn alternate name for the user.
AWS.IAMIdentityCenter.User.ProfileUrlStringURL associated with the user.
AWS.IAMIdentityCenter.User.Emails.ValueStringEmail address associated with the user.
AWS.IAMIdentityCenter.User.Emails.TypeStringType of email address.
AWS.IAMIdentityCenter.User.Emails.PrimaryStringIndicates whether this is the primary email address.
AWS.IAMIdentityCenter.User.Addresses.StreetAddressStringStreet address.
AWS.IAMIdentityCenter.User.Addresses.LocalityStringAddress locality.
AWS.IAMIdentityCenter.User.Addresses.RegionStringRegion of the address.
AWS.IAMIdentityCenter.User.Addresses.PostalCodeStringPostal code of the address.
AWS.IAMIdentityCenter.User.Addresses.CountryStringCountry of the address.
AWS.IAMIdentityCenter.User.Addresses.FormattedStringFormatted version of the address for display.
AWS.IAMIdentityCenter.User.Addresses.TypeStringType of address.
AWS.IAMIdentityCenter.User.Addresses.PrimaryStringIndicates whether this is the primary address.
AWS.IAMIdentityCenter.User.PhoneNumbers.ValueStringPhone number associated with the user.
AWS.IAMIdentityCenter.User.PhoneNumbers.TypeStringType of phone number.
AWS.IAMIdentityCenter.User.PhoneNumbers.PrimaryStringIndicates whether this is the primary phone number.
AWS.IAMIdentityCenter.User.UserTypeStringType of user.
AWS.IAMIdentityCenter.User.TitleStringTitle of the user.
AWS.IAMIdentityCenter.User.PreferredLanguageStringPreferred language of the user.
AWS.IAMIdentityCenter.User.LocaleStringGeographical region or location of the user.
AWS.IAMIdentityCenter.User.TimezoneStringTime zone of the user.
AWS.IAMIdentityCenter.User.IdentityStoreIdStringGlobally unique identifier for the identity store.
AWS.IAMIdentityCenter.UserNextTokenStringPagination token.

Command example#

!aws-iam-identitycenter-list-users

Context Example#

{
"AWS": {
"IAMIdentityCenter": {
"User": [
{
"DisplayName": "John Doe",
"Emails": [
{
"Value": "johnDoe@gmail.com"
}
],
"IdentityStoreId": "d-9967750fbd",
"Name": {
"FamilyName": "Doe",
"GivenName": "John"
},
"UserId": "8374c852-10e1-70e2-8996-5b0d54bf8ccd",
"UserName": "johndoe"
},
],
"UserNextToken": null
}
}
}

Human Readable Output#

AWS IAM Identity Center Users#

DisplayNameEmailsUserIdUserName
johndoejohnDoe@gmail.com8374c852-10e1-70e2-8996-5b0d54bf8ccdjohndoe

aws-iam-identitycenter-list-groups#


Lists all the IAM groups in the AWS account.

Base Command#

aws-iam-identitycenter-list-groups

Input#

Argument NameDescriptionRequired
regionThe AWS Region. If not specified, the default region will be used. Possible values are: us-east-1, us-east-2, us-west-1, us-west-2, ca-central-1, eu-west-1, eu-central-1, eu-west-2, ap-northeast-1, ap-northeast-2, ap-southeast-1, ap-southeast-2, ap-south-1, sa-east-1, eu-north-1, eu-west-3.Optional
roleArnThe Amazon Resource Name.Optional
roleSessionDurationRole session duration.Optional
roleSessionNameRole session name.Optional
IdentityStoreIdIdentity store ID.Optional
limitNumber of results to return. Default is 50.Optional
nextTokenThe pagination token.Optional

Context Output#

PathTypeDescription
AWS.IAMIdentityCenter.Group.GroupIdStringThe identifier for a group in the identity store.
AWS.IAMIdentityCenter.Group.DisplayNameStringThe display name value for the group.
AWS.IAMIdentityCenter.Group.ExternalIds.IssuerStringThe issuer for an external identifier.
AWS.IAMIdentityCenter.Group.ExternalIds.IdStringThe identifier issued to this resource by an external identity provider.
AWS.IAMIdentityCenter.Group.DescriptionStringA description of the specified group.
AWS.IAMIdentityCenter.Group.IdentityStoreIdStringThe globally unique identifier for the identity store.
AWS.IAMIdentityCenter.GroupNextTokenStringThe pagination token used for the ListUsers and ListGroups API operations.

Command example#

!aws-iam-identitycenter-list-groups

Context Example#

{
"AWS": {
"IAMIdentityCenter": {
"Group": [
{
"DisplayName": "new",
"GroupId": "53142802-e001-7004-9134-9e6e4e1e10c0",
"IdentityStoreId": "d-9967750fbd"
}
],
"GroupNextToken": null
}
}
}

Human Readable Output#

AWS IAM Identity Center Groups#

DisplayNameGroupId
new53142802-e001-7004-9134-9e6e4e1e10c0

aws-iam-identitycenter-list-groups-for-user#


Lists the IAM Identity Center groups that the specified IAM user belongs to.

Base Command#

aws-iam-identitycenter-list-groups-for-user

Input#

Argument NameDescriptionRequired
regionThe AWS Region. If not specified, the default region will be used. Possible values are: us-east-1, us-east-2, us-west-1, us-west-2, ca-central-1, eu-west-1, eu-central-1, eu-west-2, ap-northeast-1, ap-northeast-2, ap-southeast-1, ap-southeast-2, ap-south-1, sa-east-1, eu-north-1, eu-west-3.Optional
roleArnThe Amazon Resource Name.Optional
roleSessionDurationRole session duration.Optional
roleSessionNameRole session name.Optional
IdentityStoreIdIdentity store ID.Optional
limitNumber of results to return. Default is 50.Optional
nextTokenThe pagination token.Optional
userNameThe name of the user to list groups for.Required

Context Output#

PathTypeDescription
AWS.IAMIdentityCenter.User.UserIdstringUser ID.
AWS.IAMIdentityCenter.User.GroupMemeberships.MembershipIdstringThe friendly name that identifies the group.
AWS.IAMIdentityCenter.User.GroupMemeberships.GroupIdstringThe stable and unique string identifying the group.

Command example#

!aws-iam-identitycenter-list-groups-for-user userName=johndoe

Context Example#

{
"AWS": {
"IAMIdentityCenter": {
"GroupsUserNextToken":null,
"User":{
"GroupMemberships":[
{
"GroupId":"a3948882-5051-7090-524c-c8c850bf1919",
"MembershipId":"e374b872-9011-7000-c847-55fdcc299204",
}
],
"UserId":"c3f438a2-e041-7033-75e8-63eb8c64b0e4"
}
}
}
}

Human Readable Output#

AWS IAM Identity Center Groups#

GroupIDMembershipIDUserID
a3948882-5051-7090-524c-c8c850bf1919e374b872-9011-7000-c847-55fdcc299204c3f438a2-e041-7033-75e8-63eb8c64b0e4

aws-iam-identitycenter-add-user-to-group#


Adds the specified user to the specified group.

Base Command#

aws-iam-identitycenter-add-user-to-group

Input#

Argument NameDescriptionRequired
regionThe AWS Region. If not specified, the default region will be used. Possible values are: us-east-1, us-east-2, us-west-1, us-west-2, ca-central-1, eu-west-1, eu-central-1, eu-west-2, ap-northeast-1, ap-northeast-2, ap-southeast-1, ap-southeast-2, ap-south-1, sa-east-1, eu-north-1, eu-west-3.Optional
roleArnThe Amazon Resource Name.Optional
roleSessionDurationRole session duration.Optional
roleSessionNameRole session name.Optional
IdentityStoreIdIdentity store ID.Optional
userNameThe name of the user to add.Required
groupNameThe name of the group to update.Required

Context Output#

There is no context output for this command.

Command example#

!aws-iam-identitycenter-add-user-to-group groupName=NewGroup userName=johndoe

Human Readable Output#

The membership id 4314c862-b0c1-705e-d5da-ccf59fd045f3 has been successfully created.

aws-iam-identitycenter-get-group#


Get AWS IAM Identity Center group Information.

Base Command#

aws-iam-identitycenter-get-group

Input#

Argument NameDescriptionRequired
regionThe AWS Region. If not specified, the default region will be used. Possible values are: us-east-1, us-east-2, us-west-1, us-west-2, ca-central-1, eu-west-1, eu-central-1, eu-west-2, ap-northeast-1, ap-northeast-2, ap-southeast-1, ap-southeast-2, ap-south-1, sa-east-1, eu-north-1, eu-west-3.Optional
roleArnThe Amazon Resource Name.Optional
roleSessionDurationRole session duration.Optional
roleSessionNameRole session name.Optional
IdentityStoreIdIdentity store ID.Optional
displayNameThe name of the group to search.Required

Context Output#

PathTypeDescription
AWS.IAMIdentityCenter.Group.GroupIdStringThe identifier for a group in the identity store.
AWS.IAMIdentityCenter.Group.DisplayNameStringThe display name of the group.
AWS.IAMIdentityCenter.Group.ExternalIds.IssuerStringThe issuer for an external identifier.
AWS.IAMIdentityCenter.Group.ExternalIds.IdStringThe identifier issued to this resource by an external identity provider.
AWS.IAMIdentityCenter.Group.DescriptionStringA description of the group.
AWS.IAMIdentityCenter.Group.IdentityStoreIdStringThe globally unique identifier for the identity store.

Command example#

!aws-iam-identitycenter-get-group displayName=NewGroup

Context Example#

{
"AWS": {
"IAMIdentityCenter": {
"Group": {
"Description": "New",
"DisplayName": "NewGroup",
"GroupId": "f3a478d2-50b1-7078-81a4-c97c703007f3",
"IdentityStoreId": "d-9967750fbd"
}
}
}
}

Human Readable Output#

AWS IAM Identity Center Groups#

DisplayNameGroupId
NewGroupf3a478d2-50b1-7078-81a4-c97c703007f3

aws-iam-identitycenter-get-user-by-email#


Retrieves information about the specified IAM user.

Base Command#

aws-iam-identitycenter-get-user-by-email

Input#

Argument NameDescriptionRequired
regionThe AWS Region. If not specified, the default region will be used. Possible values are: us-east-1, us-east-2, us-west-1, us-west-2, ca-central-1, eu-west-1, eu-central-1, eu-west-2, ap-northeast-1, ap-northeast-2, ap-southeast-1, ap-southeast-2, ap-south-1, sa-east-1, eu-north-1, eu-west-3.Optional
roleArnThe Amazon Resource Name.Optional
roleSessionDurationRole session duration.Optional
roleSessionNameRole session name.Optional
IdentityStoreIdIdentity store ID.Optional
emailAddressThe email of the user.Required

Context Output#

PathTypeDescription
AWS.IAMIdentityCenter.User.UserNamestringThe friendly name identifying the user.
AWS.IAMIdentityCenter.User.UserIdstringThe stable and unique string identifying the user.
AWS.IAMIdentityCenter.User.ExternalIds.IssuerStringThe issuer for an external identifier.
AWS.IAMIdentityCenter.User.ExternalIds.IdStringThe identifier issued to this resource by an external identity provider.
AWS.IAMIdentityCenter.User.Name.FormattedStringFormatted version of the user's name for display.
AWS.IAMIdentityCenter.User.Name.FamilyNameStringThe family name of the user.
AWS.IAMIdentityCenter.User.Name.GivenNameStringThe given name of the user.
AWS.IAMIdentityCenter.User.Name.MiddleNameStringThe middle name of the user.
AWS.IAMIdentityCenter.User.Name.HonorificPrefixStringThe honorific prefix of the user.
AWS.IAMIdentityCenter.User.Name.HonorificSuffixStringThe honorific suffix of the user.
AWS.IAMIdentityCenter.User.DisplayNameStringThe name of the user formatted for display when referenced.
AWS.IAMIdentityCenter.User.NickNameStringAn alternate name for the user.
AWS.IAMIdentityCenter.User.ProfileUrlStringURL associated with the user.
AWS.IAMIdentityCenter.User.Emails.ValueStringEmail address associated with the user.
AWS.IAMIdentityCenter.User.Emails.TypeStringType of email address.
AWS.IAMIdentityCenter.User.Emails.PrimaryStringIndicates whether this is the primary email address.
AWS.IAMIdentityCenter.User.Addresses.StreetAddressStringStreet address.
AWS.IAMIdentityCenter.User.Addresses.LocalityStringAddress locality.
AWS.IAMIdentityCenter.User.Addresses.RegionStringRegion of the address.
AWS.IAMIdentityCenter.User.Addresses.PostalCodeStringPostal code of the address.
AWS.IAMIdentityCenter.User.Addresses.CountryStringCountry of the address.
AWS.IAMIdentityCenter.User.Addresses.FormattedStringFormatted version of the address for display.
AWS.IAMIdentityCenter.User.Addresses.TypeStringType of address.
AWS.IAMIdentityCenter.User.Addresses.PrimaryStringIndicates whether this is the primary address.
AWS.IAMIdentityCenter.User.PhoneNumbers.ValueStringPhone number associated with the user.
AWS.IAMIdentityCenter.User.PhoneNumbers.TypeStringType of phone number.
AWS.IAMIdentityCenter.User.PhoneNumbers.PrimaryStringIndicates whether this is the primary phone number.
AWS.IAMIdentityCenter.User.UserTypeStringType of user.
AWS.IAMIdentityCenter.User.TitleStringTitle of the user.
AWS.IAMIdentityCenter.User.PreferredLanguageStringPreferred language of the user.
AWS.IAMIdentityCenter.User.LocaleStringGeographical region or location of the user.
AWS.IAMIdentityCenter.User.TimezoneStringTime zone of the user.
AWS.IAMIdentityCenter.User.IdentityStoreIdStringGlobally unique identifier for the identity store.

Command example#

!aws-iam-identitycenter-get-user-by-email emailAddress=johnDoe@gmail.com

Context Example#

{
"AWS": {
"IAMIdentityCenter": {
"User": {
"DisplayName": "John Doe",
"Emails": [
{
"Primary": true,
"Type": "work",
"Value": "johnDoe@gmail.com"
}
],
"IdentityStoreId": "d-9967750fbd",
"Name": {
"FamilyName": "Doe",
"GivenName": "John"
},
"UserId": "13746842-e011-70fe-14fe-600d496510f0",
"UserName": "johndoe",
}
}
}
}

Human Readable Output#

AWS IAM Identity Center Users#

DisplayNameEmailsUserIdUserName
John DoejohnDoe@gmail.com13746842-e011-70fe-14fe-600d496510f0johndoe

aws-iam-identitycenter-list-memberships#


Lists the memberships of the group.

Base Command#

aws-iam-identitycenter-list-memberships

Input#

Argument NameDescriptionRequired
regionThe AWS Region. If not specified, the default region will be used. Possible values are: us-east-1, us-east-2, us-west-1, us-west-2, ca-central-1, eu-west-1, eu-central-1, eu-west-2, ap-northeast-1, ap-northeast-2, ap-southeast-1, ap-southeast-2, ap-south-1, sa-east-1, eu-north-1, eu-west-3.Optional
roleArnThe Amazon Resource Name.Optional
roleSessionDurationRole session duration.Optional
roleSessionNameRole session name.Optional
IdentityStoreIdIdentity store ID.Optional
limitNumber of results to return. Default is 50.Optional
nextTokenThe pagination token.Optional
groupNameThe name of the group to list the memberships.Required

Context Output#

PathTypeDescription
AWS.IAMIdentityCenter.GroupMemberships.IdentityStoreIdStringThe globally unique identifier for the identity store.
AWS.IAMIdentityCenter.Group.GroupMemberships.MembershipIdStringThe identifier for a GroupMembership object in an identity store.
AWS.IAMIdentityCenter.Group.GroupIdStringThe identifier for a group in the identity store.
AWS.IAMIdentityCenter.Group.GroupMemberships.UserIdStringIdentifier of resources that can be members.
AWS.IAMIdentityCenter.GroupMembershipNextTokenStringThe pagination token.

Command example#

!aws-iam-identitycenter-list-memberships groupName=NewGroup

Context Example#

{
"AWS": {
"IAMIdentityCenter": {
"Group": {
"GroupMemberships":[
{
"MembershipId":"e374b872-9011-7000-c847-55fdcc299204",
"UserId":"c3f438a2-e041-7033-75e8-63eb8c64b0e4"
}
]
},
"GroupMembershipNextToken":null
}
}
}

Human Readable Output#

GroupIdMembershipId
a3948882-5051-7090-524c-c8c850bf1919e374b872-9011-7000-c847-55fdcc299204

aws-iam-identitycenter-delete-user#


Removes the specified user from the AWS IAM Identity Center.

Base Command#

aws-iam-identitycenter-delete-user

Input#

Argument NameDescriptionRequired
regionThe AWS Region. If not specified, the default region will be used. Possible values are: us-east-1, us-east-2, us-west-1, us-west-2, ca-central-1, eu-west-1, eu-central-1, eu-west-2, ap-northeast-1, ap-northeast-2, ap-southeast-1, ap-southeast-2, ap-south-1, sa-east-1, eu-north-1, eu-west-3.Optional
roleArnThe Amazon Resource Name.Optional
roleSessionDurationRole session duration.Optional
roleSessionNameRole session name.Optional
IdentityStoreIdIdentity store ID.Optional
userNameThe name of the user to remove.Required

Context Output#

There is no context output for this command.

Command example#

!aws-iam-identitycenter-delete-user userName=johndoe

Human Readable Output#

The User 634418e2-20c1-703e-4358-a8312472c85d has been removed.

aws-iam-identitycenter-delete-group#


Removes the specified group from the IAM Identity Center.

Base Command#

aws-iam-identitycenter-delete-group

Input#

Argument NameDescriptionRequired
regionThe AWS Region. If not specified, the default region will be used. Possible values are: us-east-1, us-east-2, us-west-1, us-west-2, ca-central-1, eu-west-1, eu-central-1, eu-west-2, ap-northeast-1, ap-northeast-2, ap-southeast-1, ap-southeast-2, ap-south-1, sa-east-1, eu-north-1, eu-west-3.Optional
roleArnThe Amazon Resource Name.Optional
roleSessionDurationRole session duration.Optional
roleSessionNameRole session name.Optional
IdentityStoreIdIdentity store ID.Optional
groupNameThe name of the group to remove.Required

Context Output#

There is no context output for this command.

Command example#

!aws-iam-identitycenter-delete-group groupName=NewGroup

Human Readable Output#

The Group f3a478d2-50b1-7078-81a4-c97c703007f3 has been removed.

aws-iam-identitycenter-create-group#


Creates a new IAM Identity Center group for your AWS account.

Base Command#

aws-iam-identitycenter-create-group

Input#

Argument NameDescriptionRequired
regionThe AWS Region. If not specified, the default region will be used. Possible values are: us-east-1, us-east-2, us-west-1, us-west-2, ca-central-1, eu-west-1, eu-central-1, eu-west-2, ap-northeast-1, ap-northeast-2, ap-southeast-1, ap-southeast-2, ap-south-1, sa-east-1, eu-north-1, eu-west-3.Optional
roleArnThe Amazon Resource Name.Optional
roleSessionDurationRole session duration.Optional
roleSessionNameRole session name.Optional
IdentityStoreIdIdentity store ID.Optional
displayNameThe name of the group to create.Required
descriptionThe description of the group to create.Optional

Context Output#

PathTypeDescription
AWS.IAMIdentityCenter.Group.GroupIdstringThe user ID.
AWS.IAMIdentityCenter.Group.IdentityStoreIdstringIdentity store ID.

Command example#

!aws-iam-identitycenter-create-group description=New displayName=NewGroup

Context Example#

{
"AWS": {
"IAMIdentityCenter": {
"Group": {
"GroupId": "f3a478d2-50b1-7078-81a4-c97c703007f3",
"IdentityStoreId": "d-9967750fbd"
}
}
}
}

Human Readable Output#

Group NewGroup has been successfully created with id f3a478d2-50b1-7078-81a4-c97c703007f3#

GroupIdIdentityStoreId
f3a478d2-50b1-7078-81a4-c97c703007f3d-9967750fbd

aws-iam-identitycenter-update-group#


Updates an IAM Identity Center group for your AWS account.

Base Command#

aws-iam-identitycenter-update-group

Input#

Argument NameDescriptionRequired
regionThe AWS Region. If not specified, the default region will be used. Possible values are: us-east-1, us-east-2, us-west-1, us-west-2, ca-central-1, eu-west-1, eu-central-1, eu-west-2, ap-northeast-1, ap-northeast-2, ap-southeast-1, ap-southeast-2, ap-south-1, sa-east-1, eu-north-1, eu-west-3.Optional
roleArnThe Amazon Resource Name.Optional
roleSessionDurationRole session duration.Optional
roleSessionNameRole session name.Optional
IdentityStoreIdIdentity store ID.Optional
displayNameThe name of the group to update.Required
descriptionThe description of the group to update.Required

Context Output#

There is no context output for this command.

Command example#

!aws-iam-identitycenter-update-group description=changed displayName=NewGroup

Human Readable Output#

Group NewGroup has been successfully updated

aws-iam-identitycenter-update-user#


Updates an IAM Identity Center user for your AWS account.

Base Command#

aws-iam-identitycenter-update-user

Input#

Argument NameDescriptionRequired
userNameThe username of the user to update.Required
familyNameThe family name of the user to update.Optional
givenNameThe first name of the user to update.Optional
userEmailAddressPrimaryIs this the primary email address for the associated resource. Possible values are: yes, no.Optional
userEmailAddressThe email address of the user to update.Optional
displayNameThe display name of the user to update.Optional
profileUrlThe profile URL of the user to update.Optional
userTypeThe type of the user to update.Optional
titleThe title of the user to update.Optional
regionThe AWS Region. If not specified, the default region will be used. Possible values are: us-east-1, us-east-2, us-west-1, us-west-2, ca-central-1, eu-west-1, eu-central-1, eu-west-2, ap-northeast-1, ap-northeast-2, ap-southeast-1, ap-southeast-2, ap-south-1, sa-east-1, eu-north-1, eu-west-3.Optional
roleArnThe Amazon Resource Name.Optional
roleSessionDurationRole session duration.Optional
roleSessionNameRole session name.Optional
IdentityStoreIdIdentity store ID.Optional

Context Output#

There is no context output for this command.

Command example#

!aws-iam-identitycenter-update-user userName=johndoe familyName=changed

Human Readable Output#

User johndoe has been successfully updated

aws-iam-identitycenter-delete-group-membership#


Deletes a user from all groups if a username is provided, or deletes multiple memberships if a list of memberships is provided.

Base Command#

aws-iam-identitycenter-delete-group-membership

Input#

Argument NameDescriptionRequired
regionThe AWS Region. If not specified, the default region will be used. Possible values are: us-east-1, us-east-2, us-west-1, us-west-2, ca-central-1, eu-west-1, eu-central-1, eu-west-2, ap-northeast-1, ap-northeast-2, ap-southeast-1, ap-southeast-2, ap-south-1, sa-east-1, eu-north-1, eu-west-3.Optional
roleArnThe Amazon Resource Name.Optional
roleSessionDurationRole session duration.Optional
roleSessionNameRole session name.Optional
IdentityStoreIdIdentity store ID.Optional
userNameThe name of the user to delete from all groups.Optional
membershipIdComma-separated list of membership IDs to delete.Optional

Context Output#

There is no context output for this command.

Command example#

!aws-iam-identitycenter-delete-group-membership userName=johndoe

Human Readable Output#

User is not member of any group.