MCPcopy Index your code
hub / github.com/coder/coder / RevokeDBCryptKey

Method RevokeDBCryptKey

enterprise/dbcrypt/dbcrypt.go:96–98  ·  view source on GitHub ↗

This does not need any special handling as it does not touch any encrypted fields. Explicitly defining this here to avoid confusion.

(ctx context.Context, activeKeyDigest string)

Source from the content-addressed store, hash-verified

94// This does not need any special handling as it does not touch any encrypted fields.
95// Explicitly defining this here to avoid confusion.
96func (db *dbCrypt) RevokeDBCryptKey(ctx context.Context, activeKeyDigest string) error {
97 return db.Store.RevokeDBCryptKey(ctx, activeKeyDigest)
98}
99
100func (db *dbCrypt) InsertDBCryptKey(ctx context.Context, arg database.InsertDBCryptKeyParams) error {
101 // It's nicer to be able to pass a *sql.NullString to encryptField, but we need to pass a string here.

Callers

nothing calls this directly

Calls 1

RevokeDBCryptKeyMethod · 0.65

Tested by

no test coverage detected