Configure JFrog Platform for Passwordless Access to EKS
After you configure the passwordless access in the EKS platform, you must configure the JFrog Platform with the information. 1.
After you configure the passwordless access in the EKS platform, you must configure the JFrog Platform with the information.
-
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.
You can also use an existing user, but we recommend that you create a user exclusively for this purpose.
-
Create a scoped token for the user with the required permissions.
-
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 -
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
Updated 5 days ago
