class

CRE::Rotators::Rotator

Inherits Reference < Object

Constants

REGISTRY = {} of Symbol => Rotator.class

Class methods

for(kind : Symbol) : Rotator.class | Nil
Source
registered_kinds
Source

Instance methods

apply(c : Domain::Credential, s : Domain::NewSecret) : Nil
Source
can_rotate?(c : Domain::Credential) : Bool
Source
commit(c : Domain::Credential, s : Domain::NewSecret) : Nil
Source
generate(c : Domain::Credential) : Domain::NewSecret
Source
kind
Source
rollback_apply(c : Domain::Credential, s : Domain::NewSecret) : Nil

Default no-op; rotators override when apply() creates reversible side effects.

Source
verify(c : Domain::Credential, s : Domain::NewSecret) : Bool
Source

Macros

register_as(kind)
Source