credentialrekey

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package credentialrekey exposes operator-only ciphertext census and replacement.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cursor

type Cursor struct {
	Family int32 `json:"family"`
	ID     int64 `json:"id"`
}

type Record

type Record struct {
	Cursor
	Tenant, Resource, ResourceAux, Purpose string
	Ciphertext                             []byte
}

type Repository

type Repository interface {
	List(context.Context, postgres.DBTX, Cursor, int32) ([]Record, error)
	Replace(context.Context, postgres.DBTX, Record, []byte) (bool, error)
}

func New

func New() Repository

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL