Connections and authentication
A request that reads from a protected source signs in with an authenticator. An authenticator is a named set of credentials. You create it once in the Extract job editor and attach it to requests by name.
An authenticator never holds a password or key as readable text. Each secret field holds a reference to a secret.
Create an authenticator
- Open a request of an Extract job and select the Auth & Headers tab.
- Open Authenticator and select New authenticator.
- Enter a Name and choose the Type.
- Fill in the fields of the type, and select Create authenticator.

Choose the type
The type depends on the source of the request.
| The request reads from | Type | What it needs |
|---|---|---|
| An API with a username and password | Basic | Username and password |
| An API that issues a token from a token URL | OAuth 2 | Token URL, client ID, and client secret |
| An API that accepts a signed JSON Web Token | JWT | Issuer, audience, scope, duration, and private key |
| PostgreSQL, MySQL, MariaDB, SQL Server, or Oracle | DB Connection | Host, database, username, and password |
| Amazon S3 | AWS | Access key and secret key. It can also assume a role. |
| Google Cloud Storage | GCP | GCP credentials |
| Azure Blob Storage | Azure | Account, plus an access key, a SAS token, or a bearer token |
For every field of every type, see Authentication methods. For the sources, see Data sources.
Good to know:
- A public API needs no authenticator.
- There is no separate type for a fixed token or API key. Set the header on the request and take the token from a secret input, for example
Authorization: Bearer ${{ inputs.api_token }}. - The list of types also has AWS STS. The job instructions call it
AWS_STS, and it needs a role ARN. See Extractor instructions. - Leave the port of a DB Connection empty to use the standard port of the database engine. Enter a port only when the source uses another one.
- You set the AWS region and service on the request, not on the authenticator.
- A request lists only the authenticators that fit its source. When the attached authenticator is missing or does not fit, the editor keeps showing it until you change it. It never selects another one for you.
Setting a secret field
A secret field is a password, client secret, private key, access key, or token. It is a picker, not a text box. It shows Select or paste a secret….

| To | Do this |
|---|---|
| Use a secret that this job already uses | Select it under Existing inputs. |
| Use a secret of your organization that this job does not use yet | Select it under Environment secrets. Hypermeter adds an input for it. |
| Enter a new credential | Type or paste it into the field. The list shows a preview of the new secret. Press Enter or select the preview. To choose the key yourself and add a description, select Choose a different name… first. |
| Enter a new credential in a form | Select New secret…, enter a key, a description, and the value, and select Add secret. |
| Change the field | Select the field to open the picker again, or press Backspace to clear it. |
A new credential gets an input of the same name, and the field holds a reference such as ${{ inputs.<name> }}.
| What you see | What it means | What to do |
|---|---|---|
| You cannot save the authenticator | You typed a credential and did not confirm it. | Press Enter or select the preview, or clear the field. |
| A new secret is missing after you closed the dialog | Hypermeter creates a new secret only when you save the authenticator. Cancel discards it. | Enter the credential again and save. |
| A field asks you to convert its value | An existing authenticator still holds a readable value in a secret field. | Convert the value to a secret, or select another secret. You cannot save before you do. |
After you save, nobody can read the value again. See Secrets.
Convert other fields to inputs
Other fields, such as a URL, client ID, host, database, or username, often differ per environment. When you save an authenticator with new fixed values in such fields, Hypermeter asks Convert to inputs?. It has one row for each field, with a checkbox and an input name that you can change. The current value becomes the default of the input.
| You select | Result |
|---|---|
| Convert 2 inputs & save, with the number of rows that you selected | The selected fields become ${{ inputs.<name> }} references. The inputs are saved with the authenticator. |
| Skip | The authenticator is saved without changes. |
| Back | You return to the fields of the authenticator. |
An input name starts with a letter and has lowercase letters, numbers, -, or _. It cannot be the name of an existing input.
The review appears only for a new or changed value. You can also select a value in a field yourself and select Convert to input. See Convert to input.