Prerequisites
Prerequisites
- DevHelm CLI installed or an API token
- An API endpoint that requires authentication
- Credentials for that endpoint (API key, bearer token, or basic auth)
Supported auth types
DevHelm supports four authentication methods for HTTP monitors:| Type | Description | Header format |
|---|---|---|
bearer | Bearer token | Authorization: Bearer <token> |
basic | Username + password | Authorization: Basic <base64> |
api_key | API key in a query parameter or header | Configurable |
header | Custom header with a static value | Any header name |
Store credentials in the vault
Never put credentials directly in your config files. Store them in the DevHelm vault:${VAR} syntax. For CLI-created monitors, use the --vault-secret-id flag.
Create an authenticated monitor
Bearer token
Basic auth
API key
Custom header
Custom headers (alternative)
For simple cases, you can also pass headers directly in the HTTP config:Troubleshooting
Getting 401 Unauthorized
Getting 401 Unauthorized
Getting 403 Forbidden
Getting 403 Forbidden
The credentials are valid but lack permission. Check that the API key or token has read access to the health endpoint.
Auth works locally but not from probes
Auth works locally but not from probes
Some APIs restrict access by IP. Ensure DevHelm probe IPs are allowlisted. Contact support for the current probe IP ranges.
Next steps
HTTP monitor reference
Full HTTP configuration and auth details.
Monitors guide
Configure all monitor types with code examples.
Monitoring as Code
Manage authenticated monitors in YAML.