Choose how a request signs in

Set a project's default profile and decide what each request and environment inherits.

In short

An authentication profile is the credential sent to the API you are testing - a token, a password, an API key or an OAuth client. A project has a default profile, an environment can name its own, and each request chooses Inherit, None or one profile. Teammates who run a request use the credential without seeing it.

Before you start

Steps

  1. Open "Project settings", "Authentication", choose "New profile", pick the kind (for example Bearer token), name it, paste the secret and press "Save profile".
  2. Under "Default profile", choose it. Every request in the project now inherits it.
  3. For one request that needs another account, pick a different profile on its "Auth" tab. Choose "Inherit" to go back.
  4. For an environment with its own credentials, open "Project settings", "Environments", "Advanced", "Authentication".

Result: the line under the Auth control says which profile a request uses right now.

Inherit, None or a profile

Example: keep two organizations in two projects, each with its own default profile holding its own token. Staging and production of one project can name different profiles for the same requests.

Good to know

If something goes wrong

Related