1 min read 115 words
Docs
CLI
Reference

hessian config header add

CLI command reference

hessian config header add

Add or replace a header on a profile

Synopsis

Add a header to a profile. If the profile already has a header with the same name, it is replaced (header names are case-insensitive). Use —profile to target a profile other than the active one.

Example:

hessian config header add “CF-Access-Client-Id: 1234.access” —profile nonprod hessian config header add “CF-Access-Client-Secret: hunter2” —profile nonprod

hessian config header add <Header-Name: value> [flags]

Options

Flag Type Description
-h, --help “ help for add
--profile string Target profile (defaults to the active context)

Options inherited from parent commands

Flag Type Description
--api_url string API URL (overrides the active context) (default “http://localhost:8000”)
--config string config file (default is $HOME/.hessian/config.yaml)
--debug “ Enable debug logging
-H, --header strings Add custom header(s) to requests (format: ‘Key: Value’). Can be repeated.
--json “ Output in JSON format (overrides —output)

See also

Last updated on 2-May-2026