-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
passwords starting with a dash are not supported #114
Comments
We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story. The labels on this github issue will be updated when the story is started. |
there is a similar issue reported #86 the problem is that any argument starting with a dash is interpreted as a flag. there should be a way to escape dashes, maybe adding support for the GNU
right now the only workaround I found is to use import with a temp file https://github.com/cloudfoundry/credhub-cli/blob/main/EXAMPLES.md#exporting-and-importing which is a kludge and may leave plain text secrets on the filesystem |
a simpler workaround: use stdin instead
|
What version of the credhub server you are using?
Server Version: 2.12.6
What version of the credhub cli you are using?
CLI Version: 2.9.3
If you were attempting to accomplish a task, what was it you were attempting to do?
set a password whose value is predetermined and starts with a dash (-)
What did you expect to happen?
password should be set
What was the actual behavior?
Please confirm where necessary:
If you are a PCF customer with an Operation Manager (PCF Ops Manager) please direct your questions to support (https://support.pivotal.io/)
The text was updated successfully, but these errors were encountered: