---
title: "Get an AWS cloud authentication persona mapping"
method: GET
path: "/api/v2/wif/aws/persona_mapping/{persona_mapping_id}"
tags: ["Cloud Authentication"]
---

# Get an AWS cloud authentication persona mapping

`GET /api/v2/wif/aws/persona_mapping/{persona_mapping_id}`

## Request

- Base URL: `https://api.datadoghq.com`
- URL: `https://api.datadoghq.com/api/v2/wif/aws/persona_mapping/{persona_mapping_id}`
- Auth: one of:
  - API key in header `DD-API-KEY` and API key in header `DD-APPLICATION-KEY`
  - OAuth 2
    - Authorization code: `/oauth2/v1/authorize`
    - Token URL: `/oauth2/v1/token`
- TypeScript: <https://skmtc.dev/datadog/apis/datadog-api-v2-collection/docs/api/v2/wif/aws/persona_mapping/:persona_mapping_id/get.ts> (a function with typed inputs; its response is checked against the schema)

Get a specific AWS cloud authentication persona mapping by ID. This endpoint retrieves a single configured persona mapping that associates an AWS IAM principal with a Datadog user.

## Path parameters

- `persona_mapping_id` string, required

## Response `200`

OK

- AWSCloudAuthPersonaMappingResponse: Response containing a single AWS cloud authentication persona mapping
  - `data` AWSCloudAuthPersonaMappingDataResponse, required: Data for AWS cloud authentication persona mapping response
    - `attributes` AWSCloudAuthPersonaMappingAttributesResponse, required: Attributes for AWS cloud authentication persona mapping response
      - `account_identifier` string, required: Datadog account identifier (email or handle) mapped to the AWS principal
      - `account_uuid` string, required: Datadog account UUID
      - `arn_pattern` string, required: AWS IAM ARN pattern to match for authentication
    - `id` string, required: Unique identifier for the persona mapping
    - `type` 'aws_cloud_auth_config', required: Type identifier for AWS cloud authentication persona mapping

## Other responses

- `403`: Forbidden
- `404`: Not Found
- `429`: Too many requests

---

[API](https://skmtc.dev/datadog/apis/datadog-api-v2-collection.md) - [All operations](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/llms.txt) - [OpenAPI document](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/revisions/3f70db624329?raw)
