command
Version:
v0.0.0-...-e8b88a3
Opens a new window with list of versions in this module.
Published: Jun 22, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
EncryptDatav2.go
This example encrypts some text using an AWS Key Management Service (AWS KMS) key (KMS key).
go run EncryptDatav2.go -k KEYID -t TEXT
- KEYID is the ID for the AWS KMS key to use for encrypting the text.
- TEXT is the text to encrypt.
The unit test accepts similar values in config.json.
Documentation
¶
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
snippet-start:[kms.go-v2.EncryptData]
Source Files
¶
Click to show internal directories.
Click to hide internal directories.