Authentication
Auth Types
Section titled “Auth Types”Bearer Token
Section titled “Bearer Token”auth: type: bearer token: "{{api_token}}"Basic Auth
Section titled “Basic Auth”auth: type: basic user: "{{username}}" pass: "{{password}}"API Key
Section titled “API Key”auth: type: api_key key: X-API-Key value: "{{api_key}}" placement: headerplacement can be header or query.
Inheritance
Section titled “Inheritance”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.
Disabling Auth
Section titled “Disabling Auth”auth: type: none