FAQ
Frequently Asked Questions about KMS CLI
Frequently asked questions about the CLI can be found on this page. If you can't find the answer you are looking for, please create an issue on our GitHub repository or join our Slack channel for additional support.
By default, the CLI will choose the most suitable store available on your system.
If you experience issues with the default store, you can switch to a different one.
If none of the available stores work for you, you can try using the file store type by running kms vault set file, which should work in most cases.
If you are still experiencing trouble, please seek support.
Learn more about vault command
Yes. If you have previously retrieved secrets for a specific project and environment (such as dev, staging, or prod), the run/secret command will utilize the saved secrets, even when offline, on subsequent fetch attempts.
Yes. This is simply a configuration file and contains no sensitive data.
Visit the Hanzo KMS website and navigate to a project of your choice. Once on the project page, access the Project Settings from the sidebar. Within the Project name section, click the "Copy Project ID" button for copying the current Project ID to clipboard, or simply obtain it from the URL of the current page.
https://app.kms.hanzo.ai/project/<your_project_id>/settingsThe KMS CLI supports custom HTTP headers for requests to servers that require additional authentication. Set these headers using the INFISICAL_CUSTOM_HEADERS environment variable:
export INFISICAL_CUSTOM_HEADERS="Access-Client-Id=your-client-id Access-Client-Secret=your-client-secret"After setting this environment variable, run your Hanzo KMS commands as usual.
Custom headers are necessary when your Hanzo KMS server is protected by services like Cloudflare Access or other reverse proxies that require specific authentication headers. Without this feature, you would need to implement security workarounds that might compromise your security posture.
Custom headers should be specified in the format headername1=headervalue1 headername2=headervalue2, with spaces separating each header-value pair. For example:
export INFISICAL_CUSTOM_HEADERS="Header1=value1 Header2=value2 Header3=value3"How is this guide?
Last updated on