identitystore:GetUserId is a Read access-level action in the identitystore service. Grants permission to retrieve ID information about a user in the specified IdentityStore
ARNs that identitystore:GetUserId can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants identitystore:GetUserId.
Filters access by Primary Region of Identity Store
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": "*"
}
]
}