awskms

package
v1.15.3 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// SseAES256 is an algorithm that can be used for Server-Side Encryption in AWS S3 buckets
	SseAES256 string = "AES256"
	// SseKMS is an algorithm that can be used for Server-Side Encryption in AWS S3 buckets
	SseKMS string = "aws:kms"
)

Variables

This section is empty.

Functions

func New

func New(store kv.Service, region string, kmsID string) (kv.Service, error)

New creates a new kv.Service encrypted by AWS KMS

func NewWithSession

func NewWithSession(sess *session.Session, store kv.Service, kmsID string) (kv.Service, error)

NewWithSession creates a new kv.Service encrypted by AWS KMS with and existing AWS Session

Types

This section is empty.

Jump to

Keyboard shortcuts

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