Documentation
¶
Index ¶
Constants ¶
View Source
const FakeESType = "Fake"
View Source
const GCPKMSESType = "GCP_KMS" // GCP's KMS service.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Type string
GCPKMS *GCPKMSConfig
}
type FakeEncryptionService ¶
type FakeEncryptionService struct{}
A simple and very insecure implementation of an encryption service to be used for testing and local development.
func NewFakeEncryptionService ¶
func NewFakeEncryptionService() *FakeEncryptionService
type GCPKMSConfig ¶
type GCPKMSConfig struct {
KeyName string
}
type GCPKMSEncryptionService ¶
type GCPKMSEncryptionService struct {
// contains filtered or unexported fields
}
func NewGCPKMSEncryptionService ¶
func NewGCPKMSEncryptionService(keyName string) *GCPKMSEncryptionService
Click to show internal directories.
Click to hide internal directories.