credhub-cli icon indicating copy to clipboard operation
credhub-cli copied to clipboard

Windows cli error on interactive JSON

Open Salamandastron1 opened this issue 5 years ago • 4 comments

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:

  • [ ] I have included a log output
  • [ ] My log includes an error message
  • [ x] I have included steps for reproduction

If you are a PCF customer with an Operation Manager (PCF Ops Manager) please direct your questions to support (https://support.pivotal.io/)

Salamandastron1 avatar Feb 03 '20 15:02 Salamandastron1

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.

cf-gitbot avatar Feb 03 '20 15:02 cf-gitbot

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

siennathesane avatar Feb 12 '20 23:02 siennathesane

Unclear let me get this info for you tomorrow

Salamandastron1 avatar Feb 13 '20 23:02 Salamandastron1

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

jtarchie avatar Nov 03 '20 21:11 jtarchie

Closing old inactive issues.

hsinn0 avatar Sep 09 '24 18:09 hsinn0