Add support for KV Secret Engine resources to move away from vault_generic_secret - #1457
Merged
Conversation
benashz
reviewed
May 20, 2022
benashz
left a comment
Collaborator
There was a problem hiding this comment.
Looking good! Have some suggestions/questions...
| PreCheck: func() { testutil.TestAccPreCheck(t) }, | ||
| Steps: []resource.TestStep{ | ||
| { | ||
| Config: testDataSourceGenericSecretListConfig(mount, s1, s2, true), |
Collaborator
There was a problem hiding this comment.
Should we test the failure modes as well?
vault_generic_secret
benashz
reviewed
Jun 3, 2022
benashz
left a comment
Collaborator
There was a problem hiding this comment.
Some initial suggestions.
benashz
reviewed
Jun 14, 2022
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
benashz
approved these changes
Jun 14, 2022
benashz
left a comment
Collaborator
There was a problem hiding this comment.
Looks great. Just few minor issues to address, then +1
This was referenced Jul 22, 2022
marcboudreau
pushed a commit
to marcboudreau/terraform-provider-vault
that referenced
this pull request
Nov 6, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds 3 new resources —
vault_kv_secret,vault_kv_secret_v2andvault_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_v2andvault_kv_secret_subkeys_v2that enable users fully configure secrets for and retrieve secrets from KV V1 and V2 Secret Engines.Resolves: #1033 #57