Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (22 sloc) 791 Bytes

+++ date = "2000-01-01T00:00:00+00:04" title = "CLI Authentication" url = "cli-authentication"

[menu.cli] weight = 2 identifier = "cli-authentication" parent = "cli_overview" +++

You will need to provide the Drone command line tools with your server address and personal access token. You can retrieve a Drone personal access token from your user profile screen. Click the show token button.

user token

You can provide the server address and token using environment variables:

export DRONE_TOKEN=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...

You can confirm the above configuration by running the below command:

$ drone info
User: octocat