Documentation ¶
Index ¶
- func ErrCode(msg string, err error) error
- type KMS
- func (k *KMS) GetKmsKeyId(ctx context.Context, aliasName string) (string, error)
- func (k *KMS) GetKmsKeyIdByTags(ctx context.Context, inputTags []string, org string) (string, error)
- func (k *KMS) GetKmsKeyTags(ctx context.Context, keyId string) ([]*kms.Tag, error)
- func (k *KMS) ListKmsKeyIds(ctx context.Context) ([]string, error)
- type KMSOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type KMS ¶
KMS is a wrapper around the aws KMS service with some default config info
func (*KMS) GetKmsKeyId ¶
func (*KMS) GetKmsKeyIdByTags ¶
func (k *KMS) GetKmsKeyIdByTags(ctx context.Context, inputTags []string, org string) (string, error)
GetKmsKeyIdByTags Get the required kms key id for the account by its tags
func (*KMS) GetKmsKeyTags ¶
GetKmsKeyTags get the kms key tags for a specific kms key id
Click to show internal directories.
Click to hide internal directories.