class

CRE::Persistence::Sqlite::CredentialsRepo

Inherits CRE::Persistence::CredentialsRepo < Reference < Object

Constants

SELECT_COLS = "id, external_id, kind, name, tags, current_version_id, pending_version_id, previous_version_id, created_at, updated_at, last_rotated_at"

Constructors

Instance methods

find(id : UUID) : Domain::Credential | Nil
Source
find_by_external(kind : Domain::CredentialKind, external_id : String) : Domain::Credential | Nil
Source
insert(c : Domain::Credential) : Nil
Source
overdue(now : Time, max_age : Time::Span) : Array(Domain::Credential)
Source
update(c : Domain::Credential) : Nil
Source