ReEncryptData

command
v0.0.0-...-9d6317c Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

README

ReEncryptDatav2.go

This example reencrypts some text using an AWS Key Management Service (AWS KMS) customer master key (CMK).

go run ReEncryptDatav2.go -k KeyID -d DATA

  • KeyID is the ID of the AWS KMS key to use for reencrypting the data.
  • DATA is the data to reencrypt, as a string.

The unit test accepts similar values in config.json.

Documentation

Overview

Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX - License - Identifier: Apache - 2.0 snippet-start:[kms.go-v2.ReencryptData]

Jump to

Keyboard shortcuts

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