-
Notifications
You must be signed in to change notification settings - Fork 553
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
Add support for KV Secret Engine resources to move away from vault_generic_secret
#1457
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good! Have some suggestions/questions...
PreCheck: func() { testutil.TestAccPreCheck(t) }, | ||
Steps: []resource.TestStep{ | ||
{ | ||
Config: testDataSourceGenericSecretListConfig(mount, s1, s2, true), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we test the failure modes as well?
vault_generic_secret
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some initial suggestions.
Co-authored-by: Ben Ash <32777270+benashz@users.noreply.github.com>
Co-authored-by: Ben Ash <32777270+benashz@users.noreply.github.com>
Co-authored-by: Ben Ash <32777270+benashz@users.noreply.github.com>
Co-authored-by: Ben Ash <32777270+benashz@users.noreply.github.com>
Co-authored-by: Ben Ash <32777270+benashz@users.noreply.github.com>
…raform-provider-vault into VAULT-1336/support-kv-list
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great. Just few minor issues to address, then +1
This PR adds 3 new resources —
vault_kv_secret
,vault_kv_secret_v2
andvault_kv_secret_backend_v2
— as well as 5 new data sources —vault_kv_secret
,vault_kv_secret_v2
,vault_kv_secrets_list
,vault_kv_secrets_list_v2
andvault_kv_secret_subkeys_v2
that enable users fully configure secrets for and retrieve secrets from KV V1 and V2 Secret Engines.Resolves: #1033 #57