Create an authentication method
This page explains how to create an authentication method and choose its type. Once created, the method is available in the nodes that support authentication (HTTP(S) Request, FTP, Agent…).
Before you start
- Know the type of access to store — see Choose the method type below.
- If values depend on the environment (URLs, secrets), prepare them as dictionary variables.
Choose the method type
The type determines what Ecosystem applies automatically at execution time:
| Type | What Ecosystem does | Ideal for |
|---|---|---|
| Basic Auth | Generates the Authorization: Basic … header from a username and password. | Access via a username/password pair. |
| OAuth 2 | Gets the token, then refreshes it automatically on expiry. | Token-based APIs (client_id / client_secret). |
| API Key | Injects the key into HTTP headers and/or query parameters. | API key to send on every call. |
| Custom | Runs a custom script that produces a token and its validity duration. | Non-standard authentication server. |
For the detailed fields of each type, see Authentication method types.
Create the method
- Click on Authentication methods in the menu.
- Click on Add.
- Fill in the form:
| Field | Required? | Description |
|---|---|---|
| Name | Yes | Readable name of the method, used to find it in the nodes. |
| Type | Yes | Authentication family (Basic Auth, OAuth 2, API Key, Custom). |
| Configuration | Depending on the type | Fields specific to the selected type — see Authentication method types. |
- Click on Save.
Fill in configurable values (URLs, secrets) with dictionary variables using the format {{dictionaries.nomDuDico.cleDuDico}}: the value is then dynamically resolved according to the execution environment. See Dictionaries.
Result
The method appears in the authentication methods list, with its values masked. It can be selected in the nodes that support authentication — see Use authentication methods in workflows.
Next steps
- Use authentication methods in workflows
- Authentication method types
- Authentication method management
- Best practices — Dictionaries
See also: Authentication methods