v1
latestOpenAPI 3.0.02026-07-141,4077,1665.2 MBCloud Authentication
Create an AWS cloud authentication persona mapping
Create an AWS cloud authentication persona mapping. This endpoint associates an AWS IAM principal with a Datadog user.
post/api/v2/cloud_auth/aws/persona_mapping
Request body
Example request
{
"data": {
"attributes": {
"account_identifier": "test@test.com",
"arn_pattern": "arn:aws:iam::123456789012:user/testuser"
},
"type": "aws_cloud_auth_config"
}
}Response
Created
Example response
{
"data": {
"attributes": {
"account_identifier": "test@test.com",
"account_uuid": "12bbdc5c-5966-47e0-8733-285f9e44bcf4",
"arn_pattern": "arn:aws:iam::123456789012:user/testuser"
},
"id": "c5c758c6-18c2-4484-ae3f-46b84128404a",
"type": "aws_cloud_auth_config"
}
}