ds-data:SearchUsers

Read

ds-data:SearchUsers is a Read access-level action in the ds-data service. Grants permission to search for users on a directory

Resource types

ARNs that ds-data:SearchUsers can be scoped to in an IAM policy.

arn:${Partition}:ds:${Region}:${Account}:directory/${DirectoryId} required
directory

Condition keys

Keys you can use in the Condition block of a policy that grants ds-data:SearchUsers.

ds-data:Realm String

Filters access by the directory realm name for the request

aws:ResourceTag/${TagKey} String

Filters access by the AWS DS Resource being acted upon

Example IAM policy

A minimal policy that allows ds-data:SearchUsers. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowDsdataSearchUsers",
      "Effect": "Allow",
      "Action": "ds-data:SearchUsers",
      "Resource": "*"
    }
  ]
}

Related actions in ds-data

View all ds-data actions →