-
Notifications
You must be signed in to change notification settings - Fork 106
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
support for db schedule-based static role rotations #367
Conversation
@@ -104,6 +104,11 @@ type VaultStaticCredsMetaData struct { | |||
// "time to live". This value is compared to the LastVaultRotation to | |||
// determine if a password needs to be rotated | |||
RotationPeriod int64 `json:"rotationPeriod"` | |||
// RotationSchedule is a "chron style" string representing the allowed |
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.
// RotationSchedule is a "chron style" string representing the allowed | |
// RotationSchedule is a "cron style" string representing the allowed |
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.
ha, woops!
@@ -226,13 +226,19 @@ spec: | |||
be rotated | |||
format: int64 | |||
type: integer | |||
rotationSchedule: | |||
description: RotationSchedule is a "chron style" string representing |
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.
description: RotationSchedule is a "chron style" string representing | |
description: RotationSchedule is a "cron style" string representing |
@@ -226,13 +226,19 @@ spec: | |||
be rotated | |||
format: int64 | |||
type: integer | |||
rotationSchedule: | |||
description: RotationSchedule is a "chron style" string representing |
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.
description: RotationSchedule is a "chron style" string representing | |
description: RotationSchedule is a "cron style" string representing |
@@ -543,6 +543,7 @@ _Appears in:_ | |||
| --- | --- | | |||
| `lastVaultRotation` _integer_ | LastVaultRotation represents the last time Vault rotated the password | | |||
| `rotationPeriod` _integer_ | RotationPeriod is number in seconds between each rotation, effectively a "time to live". This value is compared to the LastVaultRotation to determine if a password needs to be rotated | | |||
| `rotationSchedule` _string_ | RotationSchedule is a "chron style" string representing the allowed schedule for each rotation. e.g. "1 0 * * *" would rotate at one minute past midnight (00:01) every day. | |
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.
| `rotationSchedule` _string_ | RotationSchedule is a "chron style" string representing the allowed schedule for each rotation. e.g. "1 0 * * *" would rotate at one minute past midnight (00:01) every day. | | |
| `rotationSchedule` _string_ | RotationSchedule is a "cron style" string representing the allowed schedule for each rotation. e.g. "1 0 * * *" would rotate at one minute past midnight (00:01) every day. | |
Add support for the upcoming 1.15 Vault feature
Related docs PR for the feature