Configure JFrog Platform for Passwordless Access to EKS

JFrog Installation & Setup Documentation

Content Type
Installation & Setup
ft:sourceType
Paligo

After you configure the EKS platform to set it up for passwordless access, you must configure the JFrog Platform with the information.

  1. Create a new user in the JFrog Platform for passwordless access to EKS and ensure that you provide the proper permissions for the relevent repositories.Manage Users

    You can also use an existing user, but we recommend that you create a user exclusively for this purpose.

  2. Create a scoped token for the user with the required permissions.Generate Scoped Tokens

  3. Run the Put IAM Role API with the user name and the IAM role to tag the JFrog Platform user with the ARN role.

    The following example shows a sample command to run the API.

    curl -XPUT -H "Content-type: application/json"  -H "Authorization: Bearer <token>"  https://example.jfrog.io/access/api/v1/aws/iam_role -d '{"username":"<AWS_USERNAME>", "iam_role": "arn:aws:iam::0000000000:role/jfrole"}' -vvv
  4. Run the GET IAM Role API.

    The following example shows a sample command to run the API.

    curl -H "Content-type: application/json"  -H "Authorization: Bearer <token>"  https://example.jfrog.io/access/api/v1/aws/iam_role/aws -vvv