CLI Authentication

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

Is there a mistake on this page? Please let us know or edit this page.