# Packages
Package kmsiface provides an interface to enable mocking the AWS Key Management Service service client for testing your code.
# Functions
New creates a new instance of the KMS client with a session.
# Constants
AlgorithmSpecRsaesOaepSha1 is a AlgorithmSpec enum value.
AlgorithmSpecRsaesOaepSha256 is a AlgorithmSpec enum value.
AlgorithmSpecRsaesPkcs1V15 is a AlgorithmSpec enum value.
DataKeySpecAes128 is a DataKeySpec enum value.
DataKeySpecAes256 is a DataKeySpec enum value.
Service ID for Regions and Endpoints metadata.
ErrCodeAlreadyExistsException for service response error code "AlreadyExistsException".
ErrCodeDependencyTimeoutException for service response error code "DependencyTimeoutException".
ErrCodeDisabledException for service response error code "DisabledException".
ErrCodeExpiredImportTokenException for service response error code "ExpiredImportTokenException".
ErrCodeIncorrectKeyMaterialException for service response error code "IncorrectKeyMaterialException".
ErrCodeInternalException for service response error code "InternalException".
ErrCodeInvalidAliasNameException for service response error code "InvalidAliasNameException".
ErrCodeInvalidArnException for service response error code "InvalidArnException".
ErrCodeInvalidCiphertextException for service response error code "InvalidCiphertextException".
ErrCodeInvalidGrantIdException for service response error code "InvalidGrantIdException".
ErrCodeInvalidGrantTokenException for service response error code "InvalidGrantTokenException".
ErrCodeInvalidImportTokenException for service response error code "InvalidImportTokenException".
ErrCodeInvalidKeyUsageException for service response error code "InvalidKeyUsageException".
ErrCodeInvalidMarkerException for service response error code "InvalidMarkerException".
ErrCodeInvalidStateException for service response error code "InvalidStateException".
ErrCodeKeyUnavailableException for service response error code "KeyUnavailableException".
ErrCodeLimitExceededException for service response error code "LimitExceededException".
ErrCodeMalformedPolicyDocumentException for service response error code "MalformedPolicyDocumentException".
ErrCodeNotFoundException for service response error code "NotFoundException".
ErrCodeTagException for service response error code "TagException".
ErrCodeUnsupportedOperationException for service response error code "UnsupportedOperationException".
ExpirationModelTypeKeyMaterialDoesNotExpire is a ExpirationModelType enum value.
ExpirationModelTypeKeyMaterialExpires is a ExpirationModelType enum value.
GrantOperationCreateGrant is a GrantOperation enum value.
GrantOperationDecrypt is a GrantOperation enum value.
GrantOperationDescribeKey is a GrantOperation enum value.
GrantOperationEncrypt is a GrantOperation enum value.
GrantOperationGenerateDataKey is a GrantOperation enum value.
GrantOperationGenerateDataKeyWithoutPlaintext is a GrantOperation enum value.
GrantOperationReEncryptFrom is a GrantOperation enum value.
GrantOperationReEncryptTo is a GrantOperation enum value.
GrantOperationRetireGrant is a GrantOperation enum value.
KeyManagerTypeAws is a KeyManagerType enum value.
KeyManagerTypeCustomer is a KeyManagerType enum value.
KeyStateDisabled is a KeyState enum value.
KeyStateEnabled is a KeyState enum value.
KeyStatePendingDeletion is a KeyState enum value.
KeyStatePendingImport is a KeyState enum value.
KeyUsageTypeEncryptDecrypt is a KeyUsageType enum value.
OriginTypeAwsKms is a OriginType enum value.
OriginTypeExternal is a OriginType enum value.
Service endpoint prefix API calls made to.
WrappingKeySpecRsa2048 is a WrappingKeySpec enum value.
# Structs
Contains information about an alias.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CancelKeyDeletionRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CancelKeyDeletionResponse.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateAliasRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateAliasOutput.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateGrantRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateGrantResponse.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateKeyRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateKeyResponse.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DecryptRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DecryptResponse.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DeleteAliasRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DeleteAliasOutput.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DeleteImportedKeyMaterialRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DeleteImportedKeyMaterialOutput.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DescribeKeyRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DescribeKeyResponse.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DisableKeyRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DisableKeyOutput.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DisableKeyRotationRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DisableKeyRotationOutput.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/EnableKeyRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/EnableKeyOutput.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/EnableKeyRotationRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/EnableKeyRotationOutput.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/EncryptRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/EncryptResponse.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateDataKeyRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateDataKeyResponse.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateDataKeyWithoutPlaintextRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateDataKeyWithoutPlaintextResponse.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateRandomRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateRandomResponse.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetKeyPolicyRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetKeyPolicyResponse.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetKeyRotationStatusRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetKeyRotationStatusResponse.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetParametersForImportRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetParametersForImportResponse.
A structure that you can use to allow certain operations in the grant only when the desired encryption context is present.
Contains information about an entry in a list of grants.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ImportKeyMaterialRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ImportKeyMaterialResponse.
Contains information about each entry in the key list.
Contains metadata about a customer master key (CMK).
KMS provides the API operation methods for making requests to AWS Key Management Service.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListAliasesRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListAliasesResponse.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListGrantsRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListGrantsResponse.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListKeyPoliciesRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListKeyPoliciesResponse.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListKeysRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListKeysResponse.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListResourceTagsRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListResourceTagsResponse.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListRetirableGrantsRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/PutKeyPolicyRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/PutKeyPolicyOutput.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ReEncryptRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ReEncryptResponse.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/RetireGrantRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/RetireGrantOutput.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/RevokeGrantRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/RevokeGrantOutput.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ScheduleKeyDeletionRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ScheduleKeyDeletionResponse.
A key-value pair.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/TagResourceRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/TagResourceOutput.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UntagResourceRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UntagResourceOutput.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UpdateAliasRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UpdateAliasOutput.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UpdateKeyDescriptionRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UpdateKeyDescriptionOutput.