Cloud 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/wif/aws/persona_mapping
Request
- Base URLhttps://api.datadoghq.com
- Auth
- API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
- or OAuth 2Authorization code/oauth2/v1/authorizeToken URL/oauth2/v1/token
- TypeScripthttps://skmtc.dev/datadog/apis/datadog-api-v2-collection/docs/api/v2/wif/aws/persona_mapping/post.tsA function with typed inputs. Its response is checked against the schema.
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"
}
}Changes
Changes to this operation have not been checked yet.