Conjur variable get command output is not json when 1 variable is used

I am using Conjur CLI version 7.0.1.

I could see that output of the command is not json when there is single secret.Below command gives the value of secret.
conjur variable get -i BotApp/secretVar

Can i get the above command output as json?

Hi @yogita,

Forcing JSON output is not supported in this version of the CLI.

Here’s the source code on GitHub if you want to dig deeper.

Can we use any other version of conjur for this?

Currently there are no versions of the Conjur CLI that support this. It’s possible that it may be supported in the future.

Thanks for the update.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.