Documentation ¶
Index ¶
- type Client
- type KMSClient
- func (cl *KMSClient) KmsDecrypt(ciphertextBlob []byte, encryptionContext map[string]string) ([]byte, string, error)
- func (cl *KMSClient) KmsDecryptText(text string) ([]byte, error)
- func (cl *KMSClient) KmsEncrypt(keyID string, ciphertextBlob []byte, encryptionContext map[string]string) ([]byte, error)
- func (cl *KMSClient) KmsEncryptText(keyID string, text []byte) (string, error)
- func (cl *KMSClient) Read(p []byte) (n int, err error)
- type LambdaClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client store aws info
func (*Client) LambdaClient ¶
func (client *Client) LambdaClient(region string) *LambdaClient
LambdaClient return AWS Lambda client
type KMSClient ¶
KMSClient store aws info
func (*KMSClient) KmsDecrypt ¶
func (cl *KMSClient) KmsDecrypt(ciphertextBlob []byte, encryptionContext map[string]string) ([]byte, string, error)
KmsDecrypt allow to decrypt data AWS KMS
func (*KMSClient) KmsDecryptText ¶
KmsDecryptText allow to decrypt text by AWS KMS
func (*KMSClient) KmsEncrypt ¶
func (cl *KMSClient) KmsEncrypt(keyID string, ciphertextBlob []byte, encryptionContext map[string]string) ([]byte, error)
KmsEncrypt allow to encrypt data by AWS KMS
func (*KMSClient) KmsEncryptText ¶
KmsEncryptText allow to encrypt text by AWS KMS
type LambdaClient ¶
LambdaClient store aws info
func (*LambdaClient) LambdaInvoke ¶
LambdaInvoke allow to call AWS Lambda
Click to show internal directories.
Click to hide internal directories.