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
AccountID is the unique identifier for the AWS account
"123456789012"
ARN is the Amazon Resource Name that uniquely identifies the IAM user
"arn:aws:iam::123456789012:user/johndoe"
UserID is the unique identifier for the IAM user
"AIDACKCEVSQ6C2EXAMPLE"
Region is the AWS region where the IAM user is operating
"us-west-2"
Was this page helpful?