-
Notifications
You must be signed in to change notification settings - Fork 50
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
Dynamic secret resource implementation #1097
Conversation
internal/provider/vaultsecrets/resource_vault_secrets_dynamic_secret_test.go
Outdated
Show resolved
Hide resolved
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.
LGTM! Tried a bunch of different lifecycle/modifications and couldn't break it 👍
"github.com/hashicorp/terraform-provider-hcp/internal/clients" | ||
) | ||
|
||
var _ dynamicSecret = &awsDynamicSecret{} |
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.
Nice, like the interface pattern for adding new dynamic secret providers.
examples/resources/hcp_vault_secrets_dynamic_secret/resource.tf
Outdated
Show resolved
Hide resolved
* * rotating secret resource implementation
🛠️ Description
Added the Vault Secrets dynamic secret resource.
Created some interfaces and abstractions so additional dynamic and rotating secrets are easier to implement.
🏗️ Acceptance tests
Output from acceptance testing:
...