Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SecretTag string GCPprojectID string GCPlocationID string GCPkeyRingID string GCPcryptoKeyID string AWSlocationID string AWScryptoKeyID string AWSprofileName string )
View Source
var RootCmd = &cobra.Command{
Use: "macgyver",
Short: "A tool of decrypt and encrypt in GCP KMS",
Long: `A tool for decrypting and encrypting strings in GCP / AWS by using KMS,
The tool is golang's flags friendly.
For example:
$ go run main.go decrypt \
--cryptoProvider=gcp \
--GCPprojectID="demo" \
--GCPlocationID="global" \
--GCPkeyRingID="foo" \
--GCPcryptoKeyID="bar" \
--flags="-a=kms_asda`,
}
RootCmd represents the base command when called without any subcommands
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.