kms

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const Prompt = "Specify KMS key id to use for encrytion. To create a new KMS key, use the prefix 'alias/'. (i.e. alias/mydevapp)"

Variables

View Source
var HCLTemplate = `` /* 4972-byte string literal not displayed */

Functions

func CreateKey

func CreateKey(desc, alias string, policy policy.Policy, tags map[string]string, svc *kms.KMS) (string, error)

func Policy

func Policy(userIds, roleIds, auditArns []string, accountID string) policy.Policy

Policy ...

Types

type HCLModel

type HCLModel struct {
	KMSKeyID string
}

Jump to

Keyboard shortcuts

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