Authentication

When used with Xray, JFrog CLI offers several means of authentication: JFrog CLI does not support accessing Xray without authentication.

Authenticating with Username and Password

To authenticate yourself using your Xray login credentials, either configure your credentials once using the jf c add command or provide the following option to each command.

Command OptionDescription

--url

JFrog Xray API endpoint URL. It usually ends with /xray

--user

JFrog username

--password

JFrog password

Authenticating with an Access Token

To authenticate yourself using an Xray Access Token, either configure your Access Token once using the jf c add command or provide the following option to each command.

Command OptionDescription

--url

JFrog Xray API endpoint URL. It usually ends with /xray

--access-token

JFrog access token


Last updated

© 2024 JFrog Ltd All Rights Reserved