hci command makes use of a number of environment variables and files.
Contains the Hercules CI API token.
It can contain multiple tokens: one per
This file is written by
It is ignored when
HERCULES_CI_API_TOKEN is set.
<forge> is typically
<owner> is the name of your organization as it appears in URLs, or for personal account if you’ve installed Hercules CI on your personal account.
hci secret init-local command will report the location of the file and does not reset its contents.
An alternate location can be specified with
An alternative way of passing an API token to the Hercules CI API for authentication.
This overrides the applicable token in
~/.config/hercules-ci/credentials.json if present.
hci will suggest to authenticate with
hci login instead, which uses that file.
The location of a local
secrets.json file for use with
hci effect run.
When unset, a default value is derived from the working directory repository upstream owner.