@grizzlycbg/grizzly-configs
v1.1.1
Published
This packages encapsulates the logic needed to import Grizzly configuration from the environment.
Downloads
26
Maintainers
Readme
Configs
This packages encapsulates the logic needed to import Grizzly configuration from the environment.
Environment Variables
When a config file is provided, the following environment variables are relevant:
GRIZZLY_CONFIG: Absolute path to the Grizzly configration file to useGRIZZLY_PROFILE: The Profile to use that is defined in the configuration file
In lieu of a Grizzly config file, these values can be set. They MUST all be provided:
GRIZZLY_HOST: The Grizzly hostGRIZZLY_ASYM_HOST: The Grizzly Asym Server Host. This is usually The Grizzly host prepended aith "/asym"GRIZZLY_KEYRING: Thje KeyRing to useGRIZZLY_API_KEY: The API Key to use
Example Config
host: https://name.grizzlycbg.io
asymHost: http://name.grizzlycbg.io/asym
activeProfile: default
profiles:
- name: default
ring: default
apikey: apikey-123456-1234567890 Default Paths
- macOS: ~/Library/Preferences/.json
- Windows: %APPDATA%<project-name>\Config (for example, C:\Users\USERNAME\AppData\Roaming<project-name>\Config)
- Linux: ~/.config/.json (or $XDG_CONFIG_HOME/.json)
