-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Automated rotate root support for AWS Auth and DB Secrets #29497
base: main
Are you sure you want to change the base?
Conversation
CI Results: failed ❌
and 124 - 10 other tests |
Build Results: |
…n tests; add error log on storage failures
@@ -13,7 +13,7 @@ import ( | |||
const ( | |||
// Minimum allowed value for rotation_window | |||
minRotationWindowSeconds = 3600 | |||
parseOptions = cron.Second | cron.Minute | cron.Hour | cron.Dom | cron.Month | cron.Dow | |||
parseOptions = cron.Minute | cron.Hour | cron.Dom | cron.Month | cron.Dow |
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.
In production, schedules using seconds should be disallowed. Only useful in testing. Matches behavior with the DB Engine as well
} | ||
} | ||
|
||
if region, ok := data.GetOk("region"); ok { |
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.
Does updating the data extraction like this change any of the user-facing behaviors?
Description
Adds new support for using Automated Rotation with AWS Auth and DB Secrets.
Note: This feature is Enterprise only and will only work with an Enterprise Vault instance. Tests for the feature will also be added against Vault Enterprise once this PR is merged.
Other changes:
MountPoint
instead ofMountType
to correctly route requests to custom mount aliases (eg:foo/bar/baz/config
)