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

hcp vault-secrets secrets create --secret-type does not accept the correct key #215

Open
syaghoubi00 opened this issue Feb 25, 2025 · 0 comments · May be fixed by #216
Open

hcp vault-secrets secrets create --secret-type does not accept the correct key #215

syaghoubi00 opened this issue Feb 25, 2025 · 0 comments · May be fixed by #216
Labels

Comments

@syaghoubi00
Copy link

The --secret-type accepts kv instead of static

echo test | hcp vault-secrets secrets create --secret-type=static --data-file=- test_secret
ERROR: "static" is an unsupported secret type; "static", "rotating", "dynamic" are available types
echo test | hcp vault-secrets secrets create --secret-type=kv --data-file=- test_secret
Secret Name   Created At                 Latest Version   Type
test_secret   2025-02-25T01:44:22.364Z   4                kv  

✓ Successfully created secret with name "test_secret"
syaghoubi00 added a commit to syaghoubi00/hcp that referenced this issue Feb 25, 2025
@github-actions github-actions bot added the stale label Mar 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant