zitadel/internal/crypto/key_storage.go

10 lines
168 B
Go
Raw Normal View History

package crypto
import "context"
type KeyStorage interface {
ReadKeys() (Keys, error)
ReadKey(id string) (*Key, error)
CreateKeys(context.Context, ...*Key) error
}