Documentation ¶
Overview ¶
Package yckmstink provides integration with the Yandex.Cloud KMS.
Package yckmstink provides integration with the Yandex.Cloud KMS.
Index ¶
Constants ¶
View Source
const (
YCKMSPrefix = "yc-kms://"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type YCAEAD ¶
type YCAEAD struct {
// contains filtered or unexported fields
}
YCAEAD represents a encrypt/decrypt service using particular keyID
type YCKMSClient ¶
type YCKMSClient struct {
// contains filtered or unexported fields
}
YCKMSClient represents a client that connects to the Yandex.Cloud KMS backend.
func NewYCKMSClient ¶
func NewYCKMSClient(keyURI string, sdk *ycsdk.SDK) (*YCKMSClient, error)
NewYCKMSClient returns a new client to Yandex.Cloud KMS. If keyURI is not empty, the client is bound to the URI.
func (*YCKMSClient) GetAEAD ¶
func (c *YCKMSClient) GetAEAD(keyURI string) (tink.AEAD, error)
GetAEAD gets a new AEAD instance backed by keyURI.
func (*YCKMSClient) Supported ¶
func (c *YCKMSClient) Supported(keyURI string) bool
Supported returns true if this client does support keyURI
Click to show internal directories.
Click to hide internal directories.