kms

package
v0.72.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

README

Key Management Service Service

This service is github.com/aws/aws-sdk-go/service/kms.KMS proxy

To check all supported method run

    endly -s="aws/kms"

To check method contract run endly -s="aws/sqs" -a=methodName

    endly -s="aws/kms"
Usage:
Sensitive data encryption

@secure.yaml

init:
  password: changeMe
pipeline:
  setupKey:
    credentials: aws
    action: aws/kms:setupKey
    aliasName: alias/myappKey

  encrypt:
    action: aws/ssm:setParameter
    name: myAppPassword
    '@description': my
    overwrite: true
    type: SecureString
    keyId: alias/myappKey
    value: $password

Documentation

Index

Constants

View Source
const (
	//ServiceID aws KMS ID.
	ServiceID = "aws/kms"
)

Variables

This section is empty.

Functions

func GetClient

func GetClient(context *endly.Context) (*kms.KMS, error)

GetClient returns kms client from context

func New

func New() endly.Service

New creates a new AWS Key Management service.

Types

type SetupKeyInput

type SetupKeyInput struct {
	kms.CreateKeyInput   `json:",inline" yaml:",inline"`
	kms.CreateAliasInput `json:",inline" yaml:",inline"`
}

SetupKeyInput setup key with alias

func (*SetupKeyInput) Validate

func (i *SetupKeyInput) Validate() error

Jump to

Keyboard shortcuts

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