first steps for pw rotation

This commit is contained in:
Felix Kunde
2022-01-17 15:04:13 +01:00
parent fe340192ca
commit 259acddfa0
11 changed files with 102 additions and 22 deletions
+2
View File
@@ -99,6 +99,8 @@ type Auth struct {
InfrastructureRolesDefs string `name:"infrastructure_roles_secrets"`
SuperUsername string `name:"super_username" default:"postgres"`
ReplicationUsername string `name:"replication_username" default:"standby"`
EnablePasswordRotation bool `name:"enable_password_rotation" default:"false"`
PasswordRotationInterval time.Duration `name:"password_rotation_interval" default:"90d"`
}
// Scalyr holds the configuration for the Scalyr Agent sidecar for log shipping: