Authentication
DNAnexus API calls are protected resources reached by authenticated requests. Clients must make authenticated requests with a "bearer token" using the "Authorization" request header field with the "Bearer" HTTP authorization scheme, for example:
Authorization: Bearer 7Fjfp0ZBr1KtDRbnfVdmIwBearer tokens are generated in three different ways:
The system generates a token when a user logs in interactively, through the UI or the CLI.
Users can generate additional tokens in the DNAnexus Platform web interface, scoped to either all projects (a full-scope token) or specific projects.
A job launched within the Execution Environment is provided with its own token. This token is derived internally by the platform from the original token retrieved with method 1 or 2.
Last updated
Was this helpful?