Basic Auth
Use this credential type for upstream APIs that require username:password over HTTP auth.
Configure
- Open Credentials -> New Credential.
- Select type basic.
- Enter:
usernamepassword(or env-backed password field)
- Save and attach to your proxy/workflow HTTP call.
Verify
curl -i "https://gateway.example.com/basic-auth-test" \
-H "Authorization: Bearer $TOKEN" \
-H "X-Client-ID: app-prod" \
-H "X-Profile-ID: prod-default"
Expected: upstream returns success (200-299) when credential is valid.
Common issues
401from upstream: invalid username/password.- Runtime secret error: env variable configured but not present at runtime.