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

Rotating secret resource implementation #1101

Conversation

maxcoulombe
Copy link
Contributor

🛠️ Description

Added the Vault Secrets rotating secret resource.
Using the interfaces and abstractions introduced in #1097

🏗️ Acceptance tests

  • [-] Are there any feature flags that are required to use this functionality?
  • Have you added an acceptance test for the functionality being added?
  • Have you run the acceptance tests on this branch?

Output from acceptance testing:

Screenshot from 2024-09-23 12-39-41

@maxcoulombe maxcoulombe requested review from a team as code owners September 23, 2024 16:40
@maxcoulombe maxcoulombe changed the base branch from main to vault-29950/dynamic-secret-resource September 23, 2024 16:45
@maxcoulombe maxcoulombe force-pushed the vault-29950/rotating-secret-resource branch from 918507b to f45ec8c Compare September 23, 2024 16:52
* lint

* lint

* tidy imports

* rename
@maxcoulombe maxcoulombe force-pushed the vault-29950/rotating-secret-resource branch from 2e50904 to b33d732 Compare September 23, 2024 18:14
Copy link
Contributor

@austingebauer austingebauer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

- `integration_name` (String) The Vault Secrets integration name with the capability to manage the secret's lifecycle.
- `name` (String) The Vault Secrets secret name.
- `rotation_policy_name` (String) Name of the rotation policy that governs the rotation of the secret.
- `secret_provider` (String) The third party platform the dynamic credentials give access to. One of `aws` or `gcp`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: could drop "dynamic" here since these fields are shared between both capabilities

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My bad I missed that comment. I'll fix it in a follow-up.

@maxcoulombe maxcoulombe merged commit dfd1361 into vault-29950/dynamic-secret-resource Sep 24, 2024
5 checks passed
@maxcoulombe maxcoulombe deleted the vault-29950/rotating-secret-resource branch September 24, 2024 18:29
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

Successfully merging this pull request may close these issues.

3 participants