Skip to content
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

JSON switch disabled in Vault UI after secrets imported( in yaml or json file) #119

Closed
songlet opened this issue Mar 16, 2023 · 1 comment

Comments

@songlet
Copy link

songlet commented Mar 16, 2023

Hi,
Medusa is a great tool and I enjoy the great convenience it brought to me when transfer secrets between different Vault instances time to time.

I just noticed that JSON switch disabled after I import the secrets from another Vault server.

Here is the procedures to re-produce my scenario:

1.Export a specific group of secrets to yaml or json file
medusa export secret2/cicd/env_vars/ --format="yaml" --insecure -o env_vars.yaml

2.Update env_vars.yaml with bundle of changes and import back
medusa import secret2 env_vars.yaml

  1. Go to Vault UI and JSON switch is disabled and can't switch on

图片

Vault Version:1.11.2
Medusa Version:0.3.6

Thank you.

@songlet
Copy link
Author

songlet commented May 7, 2023

This issue is resolved as there's a typo error in JSON file-not add "" for true
图片

@songlet songlet closed this as completed May 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant