GET AWS IAM Role

JFrog REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

Description: Get information of the AWS IAM role assigned to a user.

Since: Artifactory 7.x.x

Security: Requires a valid admin token

Usage: GET api/v1/aws/iam_role/{username}

Produces: text/plain

Sample Usage

curl -XGET  -H "Authorization: Bearer cOENUdUxv" \ 
     "https://example.jfrog.io/access/api/v1/aws/iam_role/jfrog-aws"

{
  "username": jfrog-aws, 
  "iam_role": arn:aws:iam::000000000:role/example
}