Skip to content

Add CREDHUB_HOME env variable to override default home - #134

Open
ionphractal wants to merge 1 commit into
cloudfoundry:mainfrom
ionphractal:add-credhub-home-env
Open

Add CREDHUB_HOME env variable to override default home#134
ionphractal wants to merge 1 commit into
cloudfoundry:mainfrom
ionphractal:add-credhub-home-env

Conversation

@ionphractal

Copy link
Copy Markdown

Like the cf cli (CF_HOME), it is sometimes of advantage to be able to set a different home to be able to run credhub commands against different servers within one user.

For example if you run cronjobs under the same user, the context (.credhub config) would be diluted/overwritten by a later running script, causing unwanted results.

This PR adds CREDHUB_HOME for both linux and windows versions.

@hsinn0

hsinn0 commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Created an internal Issue (TNZ-129716) to track this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

2 participants