CRE::Rotators::VaultDynamicRotator
Inherits CRE::Rotators::Rotator < Reference < Object
VaultDynamicRotator manages dynamic-secrets-engine credentials in HashiCorp Vault. Vault itself is the secret factory: we ask it for fresh creds and revoke old leases on commit.
Required Credential.tags: "role_path" - e.g. "database/creds/my-postgres-role" Optional "current_lease_id" - the lease to revoke on commit; if absent the rotator only revokes the NEW lease on rollback (apply step).
Constructors
new(client : Vault::Client)
SourceInstance methods
apply(c : Domain::Credential, s : Domain::NewSecret) : Nil
Sourcecommit(c : Domain::Credential, s : Domain::NewSecret) : Nil
Sourcegenerate(c : Domain::Credential) : Domain::NewSecret
Sourcekind
Sourcerollback_apply(c : Domain::Credential, s : Domain::NewSecret) : Nil
Default no-op; rotators override when apply() creates reversible side effects.