awskms

package
v2.5.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 2, 2024 License: Apache-2.0 Imports: 12 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAEAD

func NewAEAD(keyID string, creds aws.CredentialsProvider) (tink.AEAD, error)

NewAEAD returns a new awsAEAD instance.

keyURI must have the following format:

aws-kms://arn:<partition>:kms:<region>:[<path>]

See http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html.

func NewClient

func NewClient(keyURI string, creds aws.CredentialsProvider) (registry.KMSClient, error)

NewClient returns a registry.KMSClient which wraps an AWS KMS client and will handle keys whose URIs start with uriPrefix.

By default, the client will use default credentials.

func Register

func Register()

Register registers the AWS KMS driver

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL