Versions in this module Expand all Collapse all v0 v0.0.1 Apr 16, 2023 Changes in this version + func IsOfflineMethod(mk keys.MasterKey) bool + func NewServer(options ...ServerOption) keyservice.KeyServiceServer + type Server struct + func (ks Server) Decrypt(ctx context.Context, req *keyservice.DecryptRequest) (*keyservice.DecryptResponse, error) + func (ks Server) Encrypt(ctx context.Context, req *keyservice.EncryptRequest) (*keyservice.EncryptResponse, error) + type ServerOption interface + ApplyToServer func(s *Server) + type WithAWSKeys struct + CredsProvider *awskms.CredsProvider + func (o WithAWSKeys) ApplyToServer(s *Server) + type WithAgeIdentities []extage.Identity + func (o WithAgeIdentities) ApplyToServer(s *Server) + type WithAzureToken struct + Token *azkv.Token + func (o WithAzureToken) ApplyToServer(s *Server) + type WithDefaultServer struct + Server keyservice.KeyServiceServer + func (o WithDefaultServer) ApplyToServer(s *Server) + type WithGCPCredsJSON []byte + func (o WithGCPCredsJSON) ApplyToServer(s *Server) + type WithGnuPGHome string + func (o WithGnuPGHome) ApplyToServer(s *Server) + type WithVaultToken string + func (o WithVaultToken) ApplyToServer(s *Server)