curl --request GET \
--url https://use.hoop.dev/api/integrations/aws/iam/userinfo
{
"account_id": "123456789012",
"arn": "arn:aws:iam::123456789012:user/johndoe",
"arn_id": "AIDACKCEVSQ6C2EXAMPLE",
"region": "us-west-2"
}
It obtain the aws identity of the instance role or credentials
curl --request GET \
--url https://use.hoop.dev/api/integrations/aws/iam/userinfo
{
"account_id": "123456789012",
"arn": "arn:aws:iam::123456789012:user/johndoe",
"arn_id": "AIDACKCEVSQ6C2EXAMPLE",
"region": "us-west-2"
}
OK
The response is of type object
.
Was this page helpful?