Skip to content

Authentication

auth:
type: bearer
token: "{{api_token}}"
auth:
type: basic
user: "{{username}}"
pass: "{{password}}"
auth:
type: api_key
key: X-API-Key
value: "{{api_key}}"
placement: header

placement can be header or query.

Auth can be defined at multiple levels:

  • Collection: In settings.yml
  • Folder: In folder.yml
  • Request: In the request file

Noodle resolves auth by walking up the folder hierarchy. A request-level auth with type: inherit uses the nearest parent’s auth config.

auth:
type: none