identitystore:GetUserId is a Read access-level action in the identitystore service. Grants permission to retrieves ID information about user in the specified IdentityStore
ARNs that identitystore:GetUserId can be scoped to in an IAM policy.
No condition keys are documented for this action.
To use identitystore:GetUserId you may also need to grant:
A minimal policy that allows identitystore:GetUserId. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowIdentitystoreGetUserId",
"Effect": "Allow",
"Action": "identitystore:GetUserId",
"Resource": "*"
}
]
}