Documentation ¶
Index ¶
- func NewServer(cfg *config.TemporalConfig, ds datastore.Batching) error
- type Client
- type Server
- func (s *Server) DeletePrivateKey(ctx context.Context, req *pb.KeyDelete) (*pb.Response, error)
- func (s *Server) GetPrivateKey(ctx context.Context, req *pb.KeyGet) (*pb.Response, error)
- func (s *Server) ListPrivateKeys(ctx context.Context, req *pb.KeyList) (*pb.Response, error)
- func (s *Server) PutPrivateKey(ctx context.Context, req *pb.KeyPut) (*pb.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct { pb.ServiceClient // contains filtered or unexported fields }
Client is how we interface with the kaas grpc key manager
type Server ¶
type Server struct { pb.ServiceServer // contains filtered or unexported fields }
Server is the backend for Krab
func (*Server) DeletePrivateKey ¶
DeletePrivateKey is used to remove a private key from the keystore
func (*Server) GetPrivateKey ¶
GetPrivateKey is used to retrieve a private key by searching for its name
func (*Server) ListPrivateKeys ¶
ListPrivateKeys is used to return a list of private key ID's of all keys in our keystore
Click to show internal directories.
Click to hide internal directories.