cloudfoundry / credhub-cli

CredHub CLI provides a command line interface to interact with CredHub servers
Apache License 2.0
39 stars 43 forks source link

Windows cli error on interactive JSON #87

Open Salamandastron1 opened 4 years ago

Salamandastron1 commented 4 years ago

What version of the credhub server you are using? Server Version: 2.5.9

What version of the credhub cli you are using? CLI Version: 2.6.2

If you were attempting to accomplish a task, what was it you were attempting to do? store multiple secrets on the credhub server

What did you expect to happen? expected the secrets to be stored

What was the actual behavior? error in interactive mode,

$ credhub set -n test -t json -v '{"abc": "true"}'
'{"abc": "true"}' and the error "a" is not  recognized expected object start

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/)

cf-gitbot commented 4 years ago

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/171055196

The labels on this github issue will be updated when the story is started.

siennathesane commented 4 years ago

@Salamandastron1 are you using cmd.exe or powershell.exe?

Salamandastron1 commented 4 years ago

Unclear let me get this info for you tomorrow

jtarchie commented 3 years ago

based on the example, I bet this was in git-windows bosh emulation