KMS (Key Management Service)

Implementation details for API kms

Coverage Overview

Key Management Service (KMS) is supported by LocalStack in the community image.

AvailabilityTesting*
OperationImplementedImageInternal Test SuiteExternal Test SuiteTerraform ValidatedAWS ValidatedSnapshot TestedDetails
CancelKeyDeletion✔️community✔️✔️✔️✔️Show Tests
ConnectCustomKeyStore
CreateAlias✔️community✔️✔️✔️✔️✔️Show Tests
CreateCustomKeyStore
CreateGrant✔️community✔️✔️✔️✔️✔️Show Tests
CreateKey✔️community✔️✔️✔️✔️✔️Show Tests
Decrypt✔️community✔️✔️✔️✔️✔️Show Tests
DeleteAlias✔️community✔️✔️✔️✔️✔️Show Tests
DeleteCustomKeyStore
DeleteImportedKeyMaterial✔️community✔️✔️✔️Show Tests
DeriveSharedSecret✔️community✔️✔️✔️Show Tests
DescribeCustomKeyStores
DescribeKey✔️community✔️✔️✔️✔️✔️Show Tests
DisableKey✔️community✔️✔️✔️✔️✔️Show Tests
DisableKeyRotation✔️community✔️✔️✔️✔️✔️Show Tests
DisconnectCustomKeyStore
EnableKey✔️community✔️✔️✔️✔️✔️Show Tests
EnableKeyRotation✔️community✔️✔️✔️✔️✔️Show Tests
Encrypt✔️community✔️✔️✔️✔️✔️Show Tests
GenerateDataKey✔️community✔️✔️✔️✔️Show Tests
GenerateDataKeyPair✔️community✔️✔️✔️Show Tests
GenerateDataKeyPairWithoutPlaintext✔️community✔️✔️✔️Show Tests
GenerateDataKeyWithoutPlaintext✔️community✔️✔️✔️✔️Show Tests
GenerateMac✔️community✔️✔️✔️Show Tests
GenerateRandom✔️community✔️✔️✔️✔️Show Tests
GetKeyPolicy✔️community✔️✔️✔️✔️✔️Show Tests
GetKeyRotationStatus✔️community✔️✔️✔️✔️✔️Show Tests
GetParametersForImport✔️community✔️✔️✔️✔️✔️Show Tests
GetPublicKey✔️community✔️✔️✔️✔️✔️Show Tests
ImportKeyMaterial✔️community✔️✔️✔️✔️✔️Show Tests
ListAliases✔️community✔️✔️✔️✔️✔️Show Tests
ListGrants✔️community✔️✔️✔️✔️✔️Show Tests
ListKeyPolicies✔️community✔️✔️✔️✔️Show Tests
ListKeyRotations
ListKeys✔️community✔️✔️✔️✔️Show Tests
ListResourceTags✔️community✔️✔️✔️✔️✔️Show Tests
ListRetirableGrants✔️community✔️✔️✔️Show Tests
PutKeyPolicy✔️community✔️✔️✔️✔️✔️Show Tests
ReEncrypt
ReplicateKey✔️community✔️✔️✔️✔️✔️Show Tests
RetireGrant✔️community✔️✔️✔️Show Tests
RevokeGrant✔️community✔️✔️✔️✔️✔️Show Tests
RotateKeyOnDemand
ScheduleKeyDeletion✔️community✔️✔️✔️✔️✔️Show Tests
Sign✔️community✔️✔️✔️✔️Show Tests
TagResource✔️community✔️✔️✔️✔️✔️Show Tests
UntagResource✔️community✔️✔️✔️✔️✔️Show Tests
UpdateAlias✔️community✔️✔️✔️✔️✔️Show Tests
UpdateCustomKeyStore
UpdateKeyDescription✔️community✔️✔️✔️✔️✔️Show Tests
UpdatePrimaryRegion
Verify✔️community✔️✔️✔️✔️Show Tests
VerifyMac✔️community✔️✔️✔️Show Tests

Terminology

  • Internal Test Suite: tested by LocalStack's internal integration test suite
  • External Test Suite: covered by an external integration test suite, that runs against LocalStack
  • Terraform Validated: operation tested with Terraform
  • AWS Validated: the integration test that includes this operation call was validated against AWS
  • Snapshot Tested: the operation is part of a snapshot parity test, which verifies the responses by LocalStack and AWS are the same

Testing Details

This section gives an overview about the internal integration test suite and the specific test cases that recorded the API call.

How to read the test details?

For each operation we put up a list of the related integration test cases.
Those operation calls have been recorded during the execution of the outlined test cases. Some calls might be internal, i.e., they are not explicitly called in the test, but are triggered implicitly by the LocalStack framework.

  • Parameters: The tests are ordered by the parameters used, which are highlighted in bold.
  • Test Details: LocalStack Community or LocalStack Pro indicates where the test originates. For each test you see:
    • test name
    • status code returned (which is the expected one for the test case)
    • information about validation:
      • AWS validated the test is validated against AWS, meaning it run successfully against real AWS as well
      • Snapshot Tested this is a snapshot parity test, meaning the responses are validated against AWS


CancelKeyDeletion

Parameters: KeyId
  • LocalStack Community
    • test_schedule_and_cancel_key_deletion LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_schedule_and_cancel_key_deletion HTTP Status Code: 200 AWS validated Snapshot Tested

CreateAlias

Parameters: AliasName, TargetKeyId
  • LocalStack Community
    • test_cdk_bootstrap[10] LocalStack Community: tests/aws/services/cloudformation/resources/test_cdk.py::TestCdkInit::test_cdk_bootstrap[10] HTTP Status Code: 200 AWS validated
    • test_cdk_bootstrap[11] LocalStack Community: tests/aws/services/cloudformation/resources/test_cdk.py::TestCdkInit::test_cdk_bootstrap[11] HTTP Status Code: 200 AWS validated
    • test_cdk_bootstrap[12] LocalStack Community: tests/aws/services/cloudformation/resources/test_cdk.py::TestCdkInit::test_cdk_bootstrap[12] HTTP Status Code: 200 AWS validated
    • test_cfn_with_kms_resources LocalStack Community: tests/aws/services/cloudformation/resources/test_kms.py::test_cfn_with_kms_resources HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_all_types_of_key_id_can_be_used_for_encryption LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_all_types_of_key_id_can_be_used_for_encryption HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_create_list_delete_alias LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_create_list_delete_alias HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_list_aliases_of_key LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_list_aliases_of_key HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_update_alias LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_update_alias HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_create_alias LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_create_alias HTTP Status Code: 400 (ValidationException) AWS validated Snapshot Tested
  • LocalStack Pro
    • test_cognito_custom_email_signup LocalStack Pro: tests/aws/services/cognito/test_cognito.py::TestTriggers::test_cognito_custom_email_signup HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_create_key_alias LocalStack Pro: tests/aws/services/kms/test_kms.py::TestKMS::test_create_key_alias HTTP Status Code: 200 AWS validated Snapshot Tested

CreateGrant

Parameters: GranteePrincipal, KeyId, Name, Operations
  • LocalStack Community
    • test_create_grant_with_same_name_two_keys LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_create_grant_with_same_name_two_keys HTTP Status Code: 200 AWS validated Snapshot Tested
Parameters: GranteePrincipal, KeyId, Operations
  • LocalStack Community
    • test_create_grant_with_valid_key LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_create_grant_with_valid_key HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_list_retirable_grants LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_list_retirable_grants HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_retire_grant_with_grant_id_and_key_id LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_retire_grant_with_grant_id_and_key_id HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_retire_grant_with_grant_token LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_retire_grant_with_grant_token HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_revoke_grant LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_revoke_grant HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_cross_accounts_access LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMSMultiAccounts::test_cross_accounts_access HTTP Status Code: 200
    • test_create_grant_with_invalid_key LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_create_grant_with_invalid_key HTTP Status Code: 400 (NotFoundException) AWS validated Snapshot Tested
Parameters: GranteePrincipal, KeyId, Operations, RetiringPrincipal
  • LocalStack Community
    • test_list_retirable_grants LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_list_retirable_grants HTTP Status Code: 200 AWS validated Snapshot Tested

CreateKey

Parameters: - (without any parameters)
  • LocalStack Pro
    • test_enforce_policy_kms LocalStack Pro: tests/aws/services/iam/test_iam_enforcement.py::TestIAMEnforcementIdentityBasedPolicies::test_enforce_policy_kms HTTP Status Code: 200 AWS validated
    • test_kms_key LocalStack Pro: tests/aws/services/iam/test_iam_enforcement.py::TestIAMEnforcementResourceBasedPolicies::test_kms_key HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_encrypt_via_aws_encryption_sdk LocalStack Pro: tests/integration/test_crypto.py::test_encrypt_via_aws_encryption_sdk HTTP Status Code: 200
    • test_enforce_policy_kms LocalStack Pro: tests/aws/services/iam/test_iam_enforcement.py::TestIAMEnforcementIdentityBasedPolicies::test_enforce_policy_kms HTTP Status Code: 400 (AccessDeniedException) AWS validated
    • test_fault_all_services_in_region LocalStack Pro: tests/integration/chaos/test_faults.py::TestFaults::test_fault_all_services_in_region HTTP Status Code: 503 (ServiceUnavailable)
    • test_fault_specific_services_in_regions LocalStack Pro: tests/integration/chaos/test_faults.py::TestFaults::test_fault_specific_services_in_regions HTTP Status Code: 503 (ServiceUnavailable)
Parameters: CustomerMasterKeySpec, Description, KeyUsage
  • LocalStack Community
    • test_describe_and_list_sign_key LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_describe_and_list_sign_key HTTP Status Code: 200 AWS validated Snapshot Tested
Parameters: Description
  • LocalStack Community
    • test_table_with_ttl_and_sse LocalStack Community: tests/aws/services/cloudformation/resources/test_dynamodb.py::test_table_with_ttl_and_sse HTTP Status Code: 200 AWS validated
    • test_dynamodb_create_table_with_partial_sse_specification LocalStack Community: tests/aws/services/dynamodb/test_dynamodb.py::TestDynamoDB::test_dynamodb_create_table_with_partial_sse_specification HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_all_types_of_key_id_can_be_used_for_encryption LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_all_types_of_key_id_can_be_used_for_encryption HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_cant_delete_deleted_key LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_cant_delete_deleted_key HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_create_alias LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_create_alias HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_create_grant_with_same_name_two_keys LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_create_grant_with_same_name_two_keys HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_create_grant_with_valid_key LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_create_grant_with_valid_key HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_create_list_delete_alias LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_create_list_delete_alias HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_derive_shared_secret LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_derive_shared_secret HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_disable_and_enable_key LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_disable_and_enable_key HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_encrypt_decrypt_encryption_context LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_encrypt_decrypt_encryption_context HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_error_messaging_for_invalid_keys LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_error_messaging_for_invalid_keys HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_get_key_does_not_exist LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_get_key_does_not_exist HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_get_key_in_different_region LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_get_key_in_different_region HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_get_parameters_for_import LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_get_parameters_for_import HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_key_rotation_status LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_key_rotation_status HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_list_aliases_of_key LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_list_aliases_of_key HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_list_keys LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_list_keys HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_list_retirable_grants LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_list_retirable_grants HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_plaintext_size_for_encrypt LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_plaintext_size_for_encrypt HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_retire_grant_with_grant_id_and_key_id LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_retire_grant_with_grant_id_and_key_id HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_retire_grant_with_grant_token LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_retire_grant_with_grant_token HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_revoke_grant LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_revoke_grant HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_schedule_and_cancel_key_deletion LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_schedule_and_cancel_key_deletion HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_update_alias LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_update_alias HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_update_key_description LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_update_key_description HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_encryption_context_generate_data_key LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMSGenerateKeys::test_encryption_context_generate_data_key HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_encryption_context_generate_data_key_pair LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMSGenerateKeys::test_encryption_context_generate_data_key_pair HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_encryption_context_generate_data_key_pair_without_plaintext LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMSGenerateKeys::test_encryption_context_generate_data_key_pair_without_plaintext HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_encryption_context_generate_data_key_without_plaintext LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMSGenerateKeys::test_encryption_context_generate_data_key_without_plaintext HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_generate_data_key LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMSGenerateKeys::test_generate_data_key HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_generate_data_key_pair LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMSGenerateKeys::test_generate_data_key_pair HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_generate_data_key_pair_without_plaintext LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMSGenerateKeys::test_generate_data_key_pair_without_plaintext HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_generate_data_key_without_plaintext LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMSGenerateKeys::test_generate_data_key_without_plaintext HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_cross_accounts_access LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMSMultiAccounts::test_cross_accounts_access HTTP Status Code: 200
    • test_copy_object_kms LocalStack Community: tests/aws/services/s3/test_s3.py::TestS3::test_copy_object_kms HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_s3_copy_object_in_place_with_encryption LocalStack Community: tests/aws/services/s3/test_s3.py::TestS3::test_s3_copy_object_in_place_with_encryption HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_s3_copy_object_in_place_with_encryption LocalStack Community: tests/aws/services/s3/test_s3.py::TestS3::test_s3_copy_object_in_place_with_encryption HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_s3_multipart_upload_sse LocalStack Community: tests/aws/services/s3/test_s3.py::TestS3::test_s3_multipart_upload_sse HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_s3_sse_bucket_key_default LocalStack Community: tests/aws/services/s3/test_s3.py::TestS3::test_s3_sse_bucket_key_default HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_s3_sse_validate_kms_key LocalStack Community: tests/aws/services/s3/test_s3.py::TestS3::test_s3_sse_validate_kms_key HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_s3_sse_validate_kms_key_state LocalStack Community: tests/aws/services/s3/test_s3.py::TestS3::test_s3_sse_validate_kms_key_state HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_s3_bucket_encryption_sse_kms LocalStack Community: tests/aws/services/s3/test_s3_api.py::TestS3BucketEncryption::test_s3_bucket_encryption_sse_kms HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_s3_bucket_encryption_sse_kms_aws_managed_key LocalStack Community: tests/aws/services/s3/test_s3_api.py::TestS3BucketEncryption::test_s3_bucket_encryption_sse_kms_aws_managed_key HTTP Status Code: 200 AWS validated Snapshot Tested
Parameters: Description, KeySpec
  • LocalStack Community
    • test_hmac_create_key_invalid_operations LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_hmac_create_key_invalid_operations HTTP Status Code: 400 (ValidationException) AWS validated Snapshot Tested
Parameters: Description, KeySpec, KeyUsage
  • LocalStack Community
    • test_cant_use_disabled_or_deleted_keys LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_cant_use_disabled_or_deleted_keys HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_derive_shared_secret LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_derive_shared_secret HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_encrypt_decrypt[RSA_2048-RSAES_OAEP_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_encrypt_decrypt[RSA_2048-RSAES_OAEP_SHA_256] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_encrypt_decrypt[SYMMETRIC_DEFAULT-SYMMETRIC_DEFAULT] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_encrypt_decrypt[SYMMETRIC_DEFAULT-SYMMETRIC_DEFAULT] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_encrypt_validate_plaintext_size_per_key_type[RSA_2048-RSAES_OAEP_SHA_1] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_encrypt_validate_plaintext_size_per_key_type[RSA_2048-RSAES_OAEP_SHA_1] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_encrypt_validate_plaintext_size_per_key_type[RSA_2048-RSAES_OAEP_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_encrypt_validate_plaintext_size_per_key_type[RSA_2048-RSAES_OAEP_SHA_256] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_encrypt_validate_plaintext_size_per_key_type[RSA_3072-RSAES_OAEP_SHA_1] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_encrypt_validate_plaintext_size_per_key_type[RSA_3072-RSAES_OAEP_SHA_1] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_encrypt_validate_plaintext_size_per_key_type[RSA_3072-RSAES_OAEP_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_encrypt_validate_plaintext_size_per_key_type[RSA_3072-RSAES_OAEP_SHA_256] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_encrypt_validate_plaintext_size_per_key_type[RSA_4096-RSAES_OAEP_SHA_1] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_encrypt_validate_plaintext_size_per_key_type[RSA_4096-RSAES_OAEP_SHA_1] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_encrypt_validate_plaintext_size_per_key_type[RSA_4096-RSAES_OAEP_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_encrypt_validate_plaintext_size_per_key_type[RSA_4096-RSAES_OAEP_SHA_256] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_error_messaging_for_invalid_keys LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_error_messaging_for_invalid_keys HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_generate_and_verify_mac[HMAC_224-HMAC_SHA_224] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_generate_and_verify_mac[HMAC_224-HMAC_SHA_224] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_generate_and_verify_mac[HMAC_256-HMAC_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_generate_and_verify_mac[HMAC_256-HMAC_SHA_256] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_generate_and_verify_mac[HMAC_384-HMAC_SHA_384] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_generate_and_verify_mac[HMAC_384-HMAC_SHA_384] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_generate_and_verify_mac[HMAC_512-HMAC_SHA_512] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_generate_and_verify_mac[HMAC_512-HMAC_SHA_512] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_get_public_key LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_get_public_key HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_hmac_create_key LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_hmac_create_key HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_invalid_generate_mac[HMAC_224-HMAC_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_invalid_generate_mac[HMAC_224-HMAC_SHA_256] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_invalid_generate_mac[HMAC_256-INVALID] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_invalid_generate_mac[HMAC_256-INVALID] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_invalid_key_usage LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_invalid_key_usage HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_invalid_verify_mac[HMAC_256-HMAC_SHA_256-some different important message] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_invalid_verify_mac[HMAC_256-HMAC_SHA_256-some different important message] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_invalid_verify_mac[HMAC_256-HMAC_SHA_512-some important message] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_invalid_verify_mac[HMAC_256-HMAC_SHA_512-some important message] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_invalid_verify_mac[HMAC_256-INVALID-some important message] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_invalid_verify_mac[HMAC_256-INVALID-some important message] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_sign_verify[ECC_NIST_P256-ECDSA_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[ECC_NIST_P256-ECDSA_SHA_256] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_sign_verify[ECC_NIST_P384-ECDSA_SHA_384] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[ECC_NIST_P384-ECDSA_SHA_384] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_sign_verify[ECC_SECG_P256K1-ECDSA_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[ECC_SECG_P256K1-ECDSA_SHA_256] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_sign_verify[RSA_2048-RSASSA_PSS_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[RSA_2048-RSASSA_PSS_SHA_256] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_sign_verify[RSA_2048-RSASSA_PSS_SHA_384] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[RSA_2048-RSASSA_PSS_SHA_384] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_sign_verify[RSA_2048-RSASSA_PSS_SHA_512] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[RSA_2048-RSASSA_PSS_SHA_512] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_sign_verify[RSA_4096-RSASSA_PKCS1_V1_5_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[RSA_4096-RSASSA_PKCS1_V1_5_SHA_256] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_sign_verify[RSA_4096-RSASSA_PKCS1_V1_5_SHA_512] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[RSA_4096-RSASSA_PKCS1_V1_5_SHA_512] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_symmetric_encrypt_offline_decrypt_online[RSA_2048-RSAES_OAEP_SHA_1] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_symmetric_encrypt_offline_decrypt_online[RSA_2048-RSAES_OAEP_SHA_1] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_symmetric_encrypt_offline_decrypt_online[RSA_2048-RSAES_OAEP_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_symmetric_encrypt_offline_decrypt_online[RSA_2048-RSAES_OAEP_SHA_256] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_symmetric_encrypt_offline_decrypt_online[RSA_3072-RSAES_OAEP_SHA_1] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_symmetric_encrypt_offline_decrypt_online[RSA_3072-RSAES_OAEP_SHA_1] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_symmetric_encrypt_offline_decrypt_online[RSA_3072-RSAES_OAEP_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_symmetric_encrypt_offline_decrypt_online[RSA_3072-RSAES_OAEP_SHA_256] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_symmetric_encrypt_offline_decrypt_online[RSA_4096-RSAES_OAEP_SHA_1] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_symmetric_encrypt_offline_decrypt_online[RSA_4096-RSAES_OAEP_SHA_1] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_symmetric_encrypt_offline_decrypt_online[RSA_4096-RSAES_OAEP_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_symmetric_encrypt_offline_decrypt_online[RSA_4096-RSAES_OAEP_SHA_256] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_cross_accounts_access LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMSMultiAccounts::test_cross_accounts_access HTTP Status Code: 200
    • test_derive_shared_secret LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_derive_shared_secret HTTP Status Code: 400 (ValidationException) AWS validated Snapshot Tested
    • test_hmac_create_key_invalid_operations LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_hmac_create_key_invalid_operations HTTP Status Code: 400 (ValidationException) AWS validated Snapshot Tested
  • LocalStack Pro
    • test_kms_cross_account_encrypt LocalStack Pro: tests/aws/services/iam/test_iam_cross_account.py::TestLambdaCrossAccount::test_kms_cross_account_encrypt HTTP Status Code: 200 AWS validated Snapshot Tested
Parameters: Description, KeySpec, KeyUsage, Origin
  • LocalStack Community
    • test_get_parameters_for_import LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_get_parameters_for_import HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_import_key_asymmetric LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_import_key_asymmetric HTTP Status Code: 200 AWS validated Snapshot Tested
Parameters: Description, KeySpec, KeyUsage, Tags
  • LocalStack Community
    • test_create_key_custom_key_material_hmac LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_create_key_custom_key_material_hmac HTTP Status Code: 200 AWS validated Snapshot Tested
Parameters: Description, KeyUsage
  • LocalStack Community
    • test_create_key LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_create_key HTTP Status Code: 200 AWS validated Snapshot Tested
Parameters: Description, MultiRegion
  • LocalStack Community
    • test_create_multi_region_key LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_create_multi_region_key HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_non_multi_region_keys_should_not_have_multi_region_properties LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_non_multi_region_keys_should_not_have_multi_region_properties HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_replicate_key LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_replicate_key HTTP Status Code: 200 AWS validated Snapshot Tested
Parameters: Description, Origin
  • LocalStack Community
    • test_import_key_symmetric LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_import_key_symmetric HTTP Status Code: 200 AWS validated Snapshot Tested
Parameters: Description, Policy
  • LocalStack Community
    • test_cfn_with_kms_resources LocalStack Community: tests/aws/services/cloudformation/resources/test_kms.py::test_cfn_with_kms_resources HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_get_put_list_key_policies LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_get_put_list_key_policies HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_cross_account_access_non_default_key LocalStack Community: tests/aws/services/secretsmanager/test_secretsmanager.py::TestSecretsManagerMultiAccounts::test_cross_account_access_non_default_key HTTP Status Code: 200 AWS validated
  • LocalStack Pro
    • test_rds_cluster_with_kms LocalStack Pro: tests/aws/services/cloudformation/resources/test_rds.py::test_rds_cluster_with_kms HTTP Status Code: 200 AWS validated Snapshot Tested
Parameters: Description, Tags
  • LocalStack Community
    • test_create_key_custom_id LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_create_key_custom_id HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_create_key_custom_key_material_symmetric_decrypt LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_create_key_custom_key_material_symmetric_decrypt HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_tag_untag_list_tags LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_tag_untag_list_tags HTTP Status Code: 200 AWS validated Snapshot Tested
  • LocalStack Pro
    • test_create_key LocalStack Pro: tests/aws/services/kms/test_kms.py::TestKMS::test_create_key HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_create_key_alias LocalStack Pro: tests/aws/services/kms/test_kms.py::TestKMS::test_create_key_alias HTTP Status Code: 200 AWS validated Snapshot Tested
Parameters: KeySpec, Policy
  • LocalStack Pro
    • test_cognito_custom_email_signup LocalStack Pro: tests/aws/services/cognito/test_cognito.py::TestTriggers::test_cognito_custom_email_signup HTTP Status Code: 200 AWS validated Snapshot Tested
Parameters: Policy
  • LocalStack Community
    • test_cdk_bootstrap[10] LocalStack Community: tests/aws/services/cloudformation/resources/test_cdk.py::TestCdkInit::test_cdk_bootstrap[10] HTTP Status Code: 200 AWS validated
    • test_cdk_bootstrap[11] LocalStack Community: tests/aws/services/cloudformation/resources/test_cdk.py::TestCdkInit::test_cdk_bootstrap[11] HTTP Status Code: 200 AWS validated
    • test_cdk_bootstrap[12] LocalStack Community: tests/aws/services/cloudformation/resources/test_cdk.py::TestCdkInit::test_cdk_bootstrap[12] HTTP Status Code: 200 AWS validated
    • test_deploy_stack_with_kms LocalStack Community: tests/aws/services/cloudformation/resources/test_kms.py::test_deploy_stack_with_kms HTTP Status Code: 200 AWS validated
    • test_kms_key_disabled LocalStack Community: tests/aws/services/cloudformation/resources/test_kms.py::test_kms_key_disabled HTTP Status Code: 200 AWS validated

Decrypt

Parameters: CiphertextBlob, EncryptionAlgorithm, EncryptionContext, KeyId
  • LocalStack Community
    • test_encrypt_decrypt_encryption_context LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_encrypt_decrypt_encryption_context HTTP Status Code: 200 AWS validated Snapshot Tested
Parameters: CiphertextBlob, EncryptionAlgorithm, KeyId
  • LocalStack Community
    • test_create_key_custom_key_material_symmetric_decrypt LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_create_key_custom_key_material_symmetric_decrypt HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_encrypt_decrypt[RSA_2048-RSAES_OAEP_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_encrypt_decrypt[RSA_2048-RSAES_OAEP_SHA_256] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_encrypt_decrypt[SYMMETRIC_DEFAULT-SYMMETRIC_DEFAULT] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_encrypt_decrypt[SYMMETRIC_DEFAULT-SYMMETRIC_DEFAULT] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_symmetric_encrypt_offline_decrypt_online[RSA_2048-RSAES_OAEP_SHA_1] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_symmetric_encrypt_offline_decrypt_online[RSA_2048-RSAES_OAEP_SHA_1] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_symmetric_encrypt_offline_decrypt_online[RSA_2048-RSAES_OAEP_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_symmetric_encrypt_offline_decrypt_online[RSA_2048-RSAES_OAEP_SHA_256] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_symmetric_encrypt_offline_decrypt_online[RSA_3072-RSAES_OAEP_SHA_1] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_symmetric_encrypt_offline_decrypt_online[RSA_3072-RSAES_OAEP_SHA_1] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_symmetric_encrypt_offline_decrypt_online[RSA_3072-RSAES_OAEP_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_symmetric_encrypt_offline_decrypt_online[RSA_3072-RSAES_OAEP_SHA_256] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_symmetric_encrypt_offline_decrypt_online[RSA_4096-RSAES_OAEP_SHA_1] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_symmetric_encrypt_offline_decrypt_online[RSA_4096-RSAES_OAEP_SHA_1] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_symmetric_encrypt_offline_decrypt_online[RSA_4096-RSAES_OAEP_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_symmetric_encrypt_offline_decrypt_online[RSA_4096-RSAES_OAEP_SHA_256] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_encrypt_decrypt_encryption_context LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_encrypt_decrypt_encryption_context HTTP Status Code: 400 (InvalidCiphertextException) AWS validated Snapshot Tested
Parameters: CiphertextBlob, EncryptionContext, KeyId
  • LocalStack Pro
    • test_cognito_custom_email_signup LocalStack Pro: tests/aws/services/cognito/test_cognito.py::TestTriggers::test_cognito_custom_email_signup HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_encrypt_via_aws_encryption_sdk LocalStack Pro: tests/integration/test_crypto.py::test_encrypt_via_aws_encryption_sdk HTTP Status Code: 200
Parameters: CiphertextBlob, KeyId
  • LocalStack Community
    • test_import_key_symmetric LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_import_key_symmetric HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_generate_data_key LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMSGenerateKeys::test_generate_data_key HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_generate_data_key_pair LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMSGenerateKeys::test_generate_data_key_pair HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_cross_accounts_access LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMSMultiAccounts::test_cross_accounts_access HTTP Status Code: 200
    • test_error_messaging_for_invalid_keys LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_error_messaging_for_invalid_keys HTTP Status Code: 400 (IncorrectKeyException) AWS validated Snapshot Tested
    • test_encryption_context_generate_data_key LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMSGenerateKeys::test_encryption_context_generate_data_key HTTP Status Code: 400 (InvalidCiphertextException) AWS validated Snapshot Tested
    • test_encryption_context_generate_data_key_pair LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMSGenerateKeys::test_encryption_context_generate_data_key_pair HTTP Status Code: 400 (InvalidCiphertextException) AWS validated Snapshot Tested
    • test_encryption_context_generate_data_key_pair_without_plaintext LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMSGenerateKeys::test_encryption_context_generate_data_key_pair_without_plaintext HTTP Status Code: 400 (InvalidCiphertextException) AWS validated Snapshot Tested
    • test_encryption_context_generate_data_key_without_plaintext LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMSGenerateKeys::test_encryption_context_generate_data_key_without_plaintext HTTP Status Code: 400 (InvalidCiphertextException) AWS validated Snapshot Tested

DeleteAlias

Parameters: AliasName
  • LocalStack Community
    • test_cdk_bootstrap[10] LocalStack Community: tests/aws/services/cloudformation/resources/test_cdk.py::TestCdkInit::test_cdk_bootstrap[10] HTTP Status Code: 200 AWS validated
    • test_cdk_bootstrap[11] LocalStack Community: tests/aws/services/cloudformation/resources/test_cdk.py::TestCdkInit::test_cdk_bootstrap[11] HTTP Status Code: 200 AWS validated
    • test_cdk_bootstrap[12] LocalStack Community: tests/aws/services/cloudformation/resources/test_cdk.py::TestCdkInit::test_cdk_bootstrap[12] HTTP Status Code: 200 AWS validated
    • test_cfn_with_kms_resources LocalStack Community: tests/aws/services/cloudformation/resources/test_kms.py::test_cfn_with_kms_resources HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_all_types_of_key_id_can_be_used_for_encryption LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_all_types_of_key_id_can_be_used_for_encryption HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_create_list_delete_alias LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_create_list_delete_alias HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_list_aliases_of_key LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_list_aliases_of_key HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_update_alias LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_update_alias HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_create_list_delete_alias LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_create_list_delete_alias HTTP Status Code: 400 (NotFoundException) AWS validated Snapshot Tested
  • LocalStack Pro
    • test_cognito_custom_email_signup LocalStack Pro: tests/aws/services/cognito/test_cognito.py::TestTriggers::test_cognito_custom_email_signup HTTP Status Code: 200 AWS validated Snapshot Tested

DeleteImportedKeyMaterial

Parameters: KeyId
  • LocalStack Community
    • test_import_key_asymmetric LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_import_key_asymmetric HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_import_key_symmetric LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_import_key_symmetric HTTP Status Code: 200 AWS validated Snapshot Tested

DeriveSharedSecret

Parameters: KeyAgreementAlgorithm, KeyId, PublicKey
  • LocalStack Community
    • test_derive_shared_secret LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_derive_shared_secret HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_derive_shared_secret LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_derive_shared_secret HTTP Status Code: 400 (InvalidKeyUsageException) AWS validated Snapshot Tested
    • test_derive_shared_secret LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_derive_shared_secret HTTP Status Code: 400 (ValidationException) AWS validated Snapshot Tested

DescribeKey

Parameters: KeyId
  • LocalStack Community
    • test_deploy_stack_with_kms LocalStack Community: tests/aws/services/cloudformation/resources/test_kms.py::test_deploy_stack_with_kms HTTP Status Code: 200 AWS validated
    • test_kms_key_disabled LocalStack Community: tests/aws/services/cloudformation/resources/test_kms.py::test_kms_key_disabled HTTP Status Code: 200 AWS validated
    • test_dynamodb_create_table_with_partial_sse_specification LocalStack Community: tests/aws/services/dynamodb/test_dynamodb.py::TestDynamoDB::test_dynamodb_create_table_with_partial_sse_specification HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_create_key LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_create_key HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_create_key_custom_id LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_create_key_custom_id HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_describe_and_list_sign_key LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_describe_and_list_sign_key HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_disable_and_enable_key LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_disable_and_enable_key HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_get_key_in_different_region LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_get_key_in_different_region HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_hmac_create_key LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_hmac_create_key HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_import_key_asymmetric LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_import_key_asymmetric HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_import_key_symmetric LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_import_key_symmetric HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_replicate_key LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_replicate_key HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_schedule_and_cancel_key_deletion LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_schedule_and_cancel_key_deletion HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_update_key_description LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_update_key_description HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_cross_accounts_access LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMSMultiAccounts::test_cross_accounts_access HTTP Status Code: 200
    • test_s3_sse_validate_kms_key_state LocalStack Community: tests/aws/services/s3/test_s3.py::TestS3::test_s3_sse_validate_kms_key_state HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_s3_sse_validate_kms_key_state LocalStack Community: tests/aws/services/s3/test_s3.py::TestS3::test_s3_sse_validate_kms_key_state HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_s3_bucket_encryption_sse_kms_aws_managed_key LocalStack Community: tests/aws/services/s3/test_s3_api.py::TestS3BucketEncryption::test_s3_bucket_encryption_sse_kms_aws_managed_key HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_get_key_does_not_exist LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_get_key_does_not_exist HTTP Status Code: 400 (NotFoundException) AWS validated Snapshot Tested
    • test_get_key_in_different_region LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_get_key_in_different_region HTTP Status Code: 400 (NotFoundException) AWS validated Snapshot Tested
    • test_get_key_invalid_uuid LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_get_key_invalid_uuid HTTP Status Code: 400 (NotFoundException) AWS validated Snapshot Tested
    • test_replicate_key LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_replicate_key HTTP Status Code: 400 (NotFoundException) AWS validated Snapshot Tested
    • test_s3_sse_validate_kms_key LocalStack Community: tests/aws/services/s3/test_s3.py::TestS3::test_s3_sse_validate_kms_key HTTP Status Code: 400 (NotFoundException) AWS validated Snapshot Tested
  • LocalStack Pro
    • test_kms_key LocalStack Pro: tests/aws/services/iam/test_iam_enforcement.py::TestIAMEnforcementResourceBasedPolicies::test_kms_key HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_create_key LocalStack Pro: tests/aws/services/kms/test_kms.py::TestKMS::test_create_key HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_kms_key LocalStack Pro: tests/aws/services/iam/test_iam_enforcement.py::TestIAMEnforcementResourceBasedPolicies::test_kms_key HTTP Status Code: 400 (AccessDeniedException) AWS validated Snapshot Tested

DisableKey

Parameters: KeyId
  • LocalStack Community
    • test_kms_key_disabled LocalStack Community: tests/aws/services/cloudformation/resources/test_kms.py::test_kms_key_disabled HTTP Status Code: 200 AWS validated
    • test_cant_use_disabled_or_deleted_keys LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_cant_use_disabled_or_deleted_keys HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_disable_and_enable_key LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_disable_and_enable_key HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_s3_sse_validate_kms_key_state LocalStack Community: tests/aws/services/s3/test_s3.py::TestS3::test_s3_sse_validate_kms_key_state HTTP Status Code: 200 AWS validated Snapshot Tested

DisableKeyRotation

Parameters: KeyId
  • LocalStack Community
    • test_cdk_bootstrap[10] LocalStack Community: tests/aws/services/cloudformation/resources/test_cdk.py::TestCdkInit::test_cdk_bootstrap[10] HTTP Status Code: 200 AWS validated
    • test_cdk_bootstrap[11] LocalStack Community: tests/aws/services/cloudformation/resources/test_cdk.py::TestCdkInit::test_cdk_bootstrap[11] HTTP Status Code: 200 AWS validated
    • test_cdk_bootstrap[12] LocalStack Community: tests/aws/services/cloudformation/resources/test_cdk.py::TestCdkInit::test_cdk_bootstrap[12] HTTP Status Code: 200 AWS validated
    • test_cfn_with_kms_resources LocalStack Community: tests/aws/services/cloudformation/resources/test_kms.py::test_cfn_with_kms_resources HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_deploy_stack_with_kms LocalStack Community: tests/aws/services/cloudformation/resources/test_kms.py::test_deploy_stack_with_kms HTTP Status Code: 200 AWS validated
    • test_kms_key_disabled LocalStack Community: tests/aws/services/cloudformation/resources/test_kms.py::test_kms_key_disabled HTTP Status Code: 200 AWS validated
    • test_key_rotation_status LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_key_rotation_status HTTP Status Code: 200 AWS validated Snapshot Tested
  • LocalStack Pro
    • test_cognito_custom_email_signup LocalStack Pro: tests/aws/services/cognito/test_cognito.py::TestTriggers::test_cognito_custom_email_signup HTTP Status Code: 200 AWS validated Snapshot Tested

EnableKey

Parameters: KeyId
  • LocalStack Community
    • test_cdk_bootstrap[10] LocalStack Community: tests/aws/services/cloudformation/resources/test_cdk.py::TestCdkInit::test_cdk_bootstrap[10] HTTP Status Code: 200 AWS validated
    • test_cdk_bootstrap[11] LocalStack Community: tests/aws/services/cloudformation/resources/test_cdk.py::TestCdkInit::test_cdk_bootstrap[11] HTTP Status Code: 200 AWS validated
    • test_cdk_bootstrap[12] LocalStack Community: tests/aws/services/cloudformation/resources/test_cdk.py::TestCdkInit::test_cdk_bootstrap[12] HTTP Status Code: 200 AWS validated
    • test_cfn_with_kms_resources LocalStack Community: tests/aws/services/cloudformation/resources/test_kms.py::test_cfn_with_kms_resources HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_deploy_stack_with_kms LocalStack Community: tests/aws/services/cloudformation/resources/test_kms.py::test_deploy_stack_with_kms HTTP Status Code: 200 AWS validated
    • test_disable_and_enable_key LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_disable_and_enable_key HTTP Status Code: 200 AWS validated Snapshot Tested
  • LocalStack Pro
    • test_rds_cluster_with_kms LocalStack Pro: tests/aws/services/cloudformation/resources/test_rds.py::test_rds_cluster_with_kms HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_cognito_custom_email_signup LocalStack Pro: tests/aws/services/cognito/test_cognito.py::TestTriggers::test_cognito_custom_email_signup HTTP Status Code: 200 AWS validated Snapshot Tested

EnableKeyRotation

Parameters: KeyId
  • LocalStack Community
    • test_key_rotation_status LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_key_rotation_status HTTP Status Code: 200 AWS validated Snapshot Tested
  • LocalStack Pro
    • test_rds_cluster_with_kms LocalStack Pro: tests/aws/services/cloudformation/resources/test_rds.py::test_rds_cluster_with_kms HTTP Status Code: 200 AWS validated Snapshot Tested

Encrypt

Parameters: EncryptionAlgorithm, EncryptionContext, KeyId, Plaintext
  • LocalStack Community
    • test_encrypt_decrypt_encryption_context LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_encrypt_decrypt_encryption_context HTTP Status Code: 200 AWS validated Snapshot Tested
Parameters: EncryptionAlgorithm, KeyId, Plaintext
  • LocalStack Community
    • test_encrypt_decrypt[RSA_2048-RSAES_OAEP_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_encrypt_decrypt[RSA_2048-RSAES_OAEP_SHA_256] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_encrypt_decrypt[SYMMETRIC_DEFAULT-SYMMETRIC_DEFAULT] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_encrypt_decrypt[SYMMETRIC_DEFAULT-SYMMETRIC_DEFAULT] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_encrypt_validate_plaintext_size_per_key_type[RSA_2048-RSAES_OAEP_SHA_1] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_encrypt_validate_plaintext_size_per_key_type[RSA_2048-RSAES_OAEP_SHA_1] HTTP Status Code: 400 (ValidationException) AWS validated Snapshot Tested
    • test_encrypt_validate_plaintext_size_per_key_type[RSA_2048-RSAES_OAEP_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_encrypt_validate_plaintext_size_per_key_type[RSA_2048-RSAES_OAEP_SHA_256] HTTP Status Code: 400 (ValidationException) AWS validated Snapshot Tested
    • test_encrypt_validate_plaintext_size_per_key_type[RSA_3072-RSAES_OAEP_SHA_1] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_encrypt_validate_plaintext_size_per_key_type[RSA_3072-RSAES_OAEP_SHA_1] HTTP Status Code: 400 (ValidationException) AWS validated Snapshot Tested
    • test_encrypt_validate_plaintext_size_per_key_type[RSA_3072-RSAES_OAEP_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_encrypt_validate_plaintext_size_per_key_type[RSA_3072-RSAES_OAEP_SHA_256] HTTP Status Code: 400 (ValidationException) AWS validated Snapshot Tested
    • test_encrypt_validate_plaintext_size_per_key_type[RSA_4096-RSAES_OAEP_SHA_1] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_encrypt_validate_plaintext_size_per_key_type[RSA_4096-RSAES_OAEP_SHA_1] HTTP Status Code: 400 (ValidationException) AWS validated Snapshot Tested
    • test_encrypt_validate_plaintext_size_per_key_type[RSA_4096-RSAES_OAEP_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_encrypt_validate_plaintext_size_per_key_type[RSA_4096-RSAES_OAEP_SHA_256] HTTP Status Code: 400 (ValidationException) AWS validated Snapshot Tested
    • test_invalid_key_usage LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_invalid_key_usage HTTP Status Code: 400 (InvalidKeyUsageException) AWS validated Snapshot Tested
  • LocalStack Pro
    • test_kms_cross_account_encrypt LocalStack Pro: tests/aws/services/iam/test_iam_cross_account.py::TestLambdaCrossAccount::test_kms_cross_account_encrypt HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_kms_cross_account_encrypt LocalStack Pro: tests/aws/services/iam/test_iam_cross_account.py::TestLambdaCrossAccount::test_kms_cross_account_encrypt HTTP Status Code: 400 (AccessDeniedException) AWS validated Snapshot Tested
Parameters: KeyId, Plaintext
  • LocalStack Community
    • test_all_types_of_key_id_can_be_used_for_encryption LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_all_types_of_key_id_can_be_used_for_encryption HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_error_messaging_for_invalid_keys LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_error_messaging_for_invalid_keys HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_import_key_symmetric LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_import_key_symmetric HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_cross_accounts_access LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMSMultiAccounts::test_cross_accounts_access HTTP Status Code: 200
    • test_error_messaging_for_invalid_keys LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_error_messaging_for_invalid_keys HTTP Status Code: 400 (InvalidKeyUsageException) AWS validated Snapshot Tested
    • test_import_key_symmetric LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_import_key_symmetric HTTP Status Code: 400 (KMSInvalidStateException) AWS validated Snapshot Tested
    • test_plaintext_size_for_encrypt LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_plaintext_size_for_encrypt HTTP Status Code: 400 (ValidationException) AWS validated Snapshot Tested

GenerateDataKey

Parameters: EncryptionContext, KeyId, KeySpec
  • LocalStack Community
    • test_encryption_context_generate_data_key LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMSGenerateKeys::test_encryption_context_generate_data_key HTTP Status Code: 200 AWS validated Snapshot Tested
Parameters: EncryptionContext, KeyId, NumberOfBytes
  • LocalStack Pro
    • test_cognito_custom_email_signup LocalStack Pro: tests/aws/services/cognito/test_cognito.py::TestTriggers::test_cognito_custom_email_signup HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_encrypt_via_aws_encryption_sdk LocalStack Pro: tests/integration/test_crypto.py::test_encrypt_via_aws_encryption_sdk HTTP Status Code: 200
Parameters: KeyId
  • LocalStack Community
    • test_cross_accounts_access LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMSMultiAccounts::test_cross_accounts_access HTTP Status Code: 200
Parameters: KeyId, KeySpec
  • LocalStack Community
    • test_cant_use_disabled_or_deleted_keys LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_cant_use_disabled_or_deleted_keys HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_generate_data_key LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMSGenerateKeys::test_generate_data_key HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_cant_use_disabled_or_deleted_keys LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_cant_use_disabled_or_deleted_keys HTTP Status Code: 400 (DisabledException) AWS validated Snapshot Tested
    • test_cant_use_disabled_or_deleted_keys LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_cant_use_disabled_or_deleted_keys HTTP Status Code: 400 (KMSInvalidStateException) AWS validated Snapshot Tested

GenerateDataKeyPair

Parameters: EncryptionContext, KeyId, KeyPairSpec
  • LocalStack Community
    • test_encryption_context_generate_data_key_pair LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMSGenerateKeys::test_encryption_context_generate_data_key_pair HTTP Status Code: 200 AWS validated Snapshot Tested
Parameters: KeyId, KeyPairSpec
  • LocalStack Community
    • test_generate_data_key_pair LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMSGenerateKeys::test_generate_data_key_pair HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_cross_accounts_access LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMSMultiAccounts::test_cross_accounts_access HTTP Status Code: 200

GenerateDataKeyPairWithoutPlaintext

Parameters: EncryptionContext, KeyId, KeyPairSpec
  • LocalStack Community
    • test_encryption_context_generate_data_key_pair_without_plaintext LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMSGenerateKeys::test_encryption_context_generate_data_key_pair_without_plaintext HTTP Status Code: 200 AWS validated Snapshot Tested
Parameters: KeyId, KeyPairSpec
  • LocalStack Community
    • test_generate_data_key_pair_without_plaintext LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMSGenerateKeys::test_generate_data_key_pair_without_plaintext HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_cross_accounts_access LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMSMultiAccounts::test_cross_accounts_access HTTP Status Code: 200

GenerateDataKeyWithoutPlaintext

Parameters: EncryptionContext, KeyId, KeySpec
  • LocalStack Community
    • test_encryption_context_generate_data_key_without_plaintext LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMSGenerateKeys::test_encryption_context_generate_data_key_without_plaintext HTTP Status Code: 200 AWS validated Snapshot Tested
Parameters: KeyId
  • LocalStack Community
    • test_cross_accounts_access LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMSMultiAccounts::test_cross_accounts_access HTTP Status Code: 200
Parameters: KeyId, KeySpec
  • LocalStack Community
    • test_generate_data_key_without_plaintext LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMSGenerateKeys::test_generate_data_key_without_plaintext HTTP Status Code: 200 AWS validated Snapshot Tested

GenerateMac

Parameters: KeyId, MacAlgorithm, Message
  • LocalStack Community
    • test_create_key_custom_key_material_hmac LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_create_key_custom_key_material_hmac HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_generate_and_verify_mac[HMAC_224-HMAC_SHA_224] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_generate_and_verify_mac[HMAC_224-HMAC_SHA_224] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_generate_and_verify_mac[HMAC_256-HMAC_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_generate_and_verify_mac[HMAC_256-HMAC_SHA_256] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_generate_and_verify_mac[HMAC_384-HMAC_SHA_384] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_generate_and_verify_mac[HMAC_384-HMAC_SHA_384] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_generate_and_verify_mac[HMAC_512-HMAC_SHA_512] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_generate_and_verify_mac[HMAC_512-HMAC_SHA_512] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_invalid_verify_mac[HMAC_256-HMAC_SHA_256-some different important message] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_invalid_verify_mac[HMAC_256-HMAC_SHA_256-some different important message] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_invalid_verify_mac[HMAC_256-HMAC_SHA_512-some important message] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_invalid_verify_mac[HMAC_256-HMAC_SHA_512-some important message] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_invalid_verify_mac[HMAC_256-INVALID-some important message] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_invalid_verify_mac[HMAC_256-INVALID-some important message] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_cross_accounts_access LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMSMultiAccounts::test_cross_accounts_access HTTP Status Code: 200
    • test_error_messaging_for_invalid_keys LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_error_messaging_for_invalid_keys HTTP Status Code: 400 (InvalidKeyUsageException) AWS validated Snapshot Tested
    • test_generate_and_verify_mac[HMAC_224-HMAC_SHA_224] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_generate_and_verify_mac[HMAC_224-HMAC_SHA_224] HTTP Status Code: 400 (NotFoundException) AWS validated Snapshot Tested
    • test_generate_and_verify_mac[HMAC_256-HMAC_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_generate_and_verify_mac[HMAC_256-HMAC_SHA_256] HTTP Status Code: 400 (NotFoundException) AWS validated Snapshot Tested
    • test_generate_and_verify_mac[HMAC_384-HMAC_SHA_384] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_generate_and_verify_mac[HMAC_384-HMAC_SHA_384] HTTP Status Code: 400 (NotFoundException) AWS validated Snapshot Tested
    • test_generate_and_verify_mac[HMAC_512-HMAC_SHA_512] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_generate_and_verify_mac[HMAC_512-HMAC_SHA_512] HTTP Status Code: 400 (NotFoundException) AWS validated Snapshot Tested
    • test_invalid_generate_mac[HMAC_224-HMAC_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_invalid_generate_mac[HMAC_224-HMAC_SHA_256] HTTP Status Code: 400 (InvalidKeyUsageException) AWS validated Snapshot Tested
    • test_invalid_generate_mac[HMAC_256-INVALID] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_invalid_generate_mac[HMAC_256-INVALID] HTTP Status Code: 400 (ValidationException) AWS validated Snapshot Tested

GenerateRandom

Parameters: - (without any parameters)
  • LocalStack Community
    • test_generate_random_invalid_number_of_bytes[None] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_generate_random_invalid_number_of_bytes[None] HTTP Status Code: 400 (ValidationException) AWS validated Snapshot Tested
Parameters: NumberOfBytes
  • LocalStack Community
    • test_generate_random[1024] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_generate_random[1024] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_generate_random[12] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_generate_random[12] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_generate_random[1] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_generate_random[1] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_generate_random[44] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_generate_random[44] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_generate_random[91] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_generate_random[91] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_generate_random_invalid_number_of_bytes[0] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_generate_random_invalid_number_of_bytes[0] HTTP Status Code: 400 (ValidationException) AWS validated Snapshot Tested
    • test_generate_random_invalid_number_of_bytes[1025] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_generate_random_invalid_number_of_bytes[1025] HTTP Status Code: 400 (ValidationException) AWS validated Snapshot Tested

GetKeyPolicy

Parameters: KeyId, PolicyName
  • LocalStack Community
    • test_get_put_list_key_policies LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_get_put_list_key_policies HTTP Status Code: 200 AWS validated Snapshot Tested
  • LocalStack Pro
    • test_kms_cross_account_encrypt LocalStack Pro: tests/aws/services/iam/test_iam_cross_account.py::TestLambdaCrossAccount::test_kms_cross_account_encrypt HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_kms_cross_account_encrypt LocalStack Pro: tests/aws/services/iam/test_iam_cross_account.py::TestLambdaCrossAccount::test_kms_cross_account_encrypt HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_kms_key LocalStack Pro: tests/aws/services/iam/test_iam_enforcement.py::TestIAMEnforcementResourceBasedPolicies::test_kms_key HTTP Status Code: 200 AWS validated Snapshot Tested

GetKeyRotationStatus

Parameters: KeyId
  • LocalStack Community
    • test_key_rotation_status LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_key_rotation_status HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_cross_accounts_access LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMSMultiAccounts::test_cross_accounts_access HTTP Status Code: 200

GetParametersForImport

Parameters: KeyId, WrappingAlgorithm, WrappingKeySpec
  • LocalStack Community
    • test_get_parameters_for_import LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_get_parameters_for_import HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_import_key_asymmetric LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_import_key_asymmetric HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_import_key_symmetric LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_import_key_symmetric HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_get_parameters_for_import LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_get_parameters_for_import HTTP Status Code: 400 (UnsupportedOperationException) AWS validated Snapshot Tested

GetPublicKey

Parameters: KeyId
  • LocalStack Community
    • test_derive_shared_secret LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_derive_shared_secret HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_get_public_key LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_get_public_key HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_import_key_asymmetric LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_import_key_asymmetric HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_symmetric_encrypt_offline_decrypt_online[RSA_2048-RSAES_OAEP_SHA_1] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_symmetric_encrypt_offline_decrypt_online[RSA_2048-RSAES_OAEP_SHA_1] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_symmetric_encrypt_offline_decrypt_online[RSA_2048-RSAES_OAEP_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_symmetric_encrypt_offline_decrypt_online[RSA_2048-RSAES_OAEP_SHA_256] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_symmetric_encrypt_offline_decrypt_online[RSA_3072-RSAES_OAEP_SHA_1] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_symmetric_encrypt_offline_decrypt_online[RSA_3072-RSAES_OAEP_SHA_1] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_symmetric_encrypt_offline_decrypt_online[RSA_3072-RSAES_OAEP_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_symmetric_encrypt_offline_decrypt_online[RSA_3072-RSAES_OAEP_SHA_256] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_symmetric_encrypt_offline_decrypt_online[RSA_4096-RSAES_OAEP_SHA_1] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_symmetric_encrypt_offline_decrypt_online[RSA_4096-RSAES_OAEP_SHA_1] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_symmetric_encrypt_offline_decrypt_online[RSA_4096-RSAES_OAEP_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_symmetric_encrypt_offline_decrypt_online[RSA_4096-RSAES_OAEP_SHA_256] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_cross_accounts_access LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMSMultiAccounts::test_cross_accounts_access HTTP Status Code: 200

ImportKeyMaterial

Parameters: EncryptedKeyMaterial, ExpirationModel, ImportToken, KeyId
  • LocalStack Community
    • test_import_key_asymmetric LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_import_key_asymmetric HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_import_key_symmetric LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_import_key_symmetric HTTP Status Code: 200 AWS validated Snapshot Tested
Parameters: EncryptedKeyMaterial, ImportToken, KeyId
  • LocalStack Community
    • test_import_key_symmetric LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_import_key_symmetric HTTP Status Code: 400 (ValidationException) AWS validated Snapshot Tested

ListAliases

Parameters: - (without any parameters)
  • LocalStack Community
    • test_cfn_with_kms_resources LocalStack Community: tests/aws/services/cloudformation/resources/test_kms.py::test_cfn_with_kms_resources HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_create_list_delete_alias LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_create_list_delete_alias HTTP Status Code: 200 AWS validated Snapshot Tested
  • LocalStack Pro
    • test_create_key_alias LocalStack Pro: tests/aws/services/kms/test_kms.py::TestKMS::test_create_key_alias HTTP Status Code: 200 AWS validated Snapshot Tested
Parameters: KeyId
  • LocalStack Community
    • test_all_types_of_key_id_can_be_used_for_encryption LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_all_types_of_key_id_can_be_used_for_encryption HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_list_aliases_of_key LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_list_aliases_of_key HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_update_alias LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_update_alias HTTP Status Code: 200 AWS validated Snapshot Tested

ListGrants

Parameters: KeyId
  • LocalStack Community
    • test_create_grant_with_same_name_two_keys LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_create_grant_with_same_name_two_keys HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_create_grant_with_valid_key LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_create_grant_with_valid_key HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_retire_grant_with_grant_id_and_key_id LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_retire_grant_with_grant_id_and_key_id HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_retire_grant_with_grant_token LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_retire_grant_with_grant_token HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_revoke_grant LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_revoke_grant HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_cross_accounts_access LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMSMultiAccounts::test_cross_accounts_access HTTP Status Code: 200
    • test_list_grants_with_invalid_key LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_list_grants_with_invalid_key HTTP Status Code: 400 (NotFoundException) AWS validated Snapshot Tested

ListKeyPolicies

Parameters: KeyId
  • LocalStack Community
    • test_get_put_list_key_policies LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_get_put_list_key_policies HTTP Status Code: 200 AWS validated Snapshot Tested

ListKeys

Parameters: - (without any parameters)
  • LocalStack Community
    • test_create_key LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_create_key HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_describe_and_list_sign_key LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_describe_and_list_sign_key HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_hmac_create_key LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_hmac_create_key HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_list_keys LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_list_keys HTTP Status Code: 200 AWS validated Snapshot Tested
  • LocalStack Pro
    • test_fault_all_services_in_region LocalStack Pro: tests/integration/chaos/test_faults.py::TestFaults::test_fault_all_services_in_region HTTP Status Code: 200

ListResourceTags

Parameters: KeyId
  • LocalStack Community
    • test_tag_untag_list_tags LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_tag_untag_list_tags HTTP Status Code: 200 AWS validated Snapshot Tested

ListRetirableGrants

Parameters: RetiringPrincipal
  • LocalStack Community
    • test_list_retirable_grants LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_list_retirable_grants HTTP Status Code: 200 AWS validated Snapshot Tested

PutKeyPolicy

Parameters: KeyId, Policy, PolicyName
  • LocalStack Community
    • test_get_put_list_key_policies LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_get_put_list_key_policies HTTP Status Code: 200 AWS validated Snapshot Tested
  • LocalStack Pro
    • test_kms_cross_account_encrypt LocalStack Pro: tests/aws/services/iam/test_iam_cross_account.py::TestLambdaCrossAccount::test_kms_cross_account_encrypt HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_kms_key LocalStack Pro: tests/aws/services/iam/test_iam_enforcement.py::TestIAMEnforcementResourceBasedPolicies::test_kms_key HTTP Status Code: 200 AWS validated Snapshot Tested

ReplicateKey

Parameters: KeyId, ReplicaRegion
  • LocalStack Community
    • test_replicate_key LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_replicate_key HTTP Status Code: 200 AWS validated Snapshot Tested

RetireGrant

Parameters: GrantId, KeyId
  • LocalStack Community
    • test_list_retirable_grants LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_list_retirable_grants HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_retire_grant_with_grant_id_and_key_id LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_retire_grant_with_grant_id_and_key_id HTTP Status Code: 200 AWS validated Snapshot Tested
Parameters: GrantToken
  • LocalStack Community
    • test_retire_grant_with_grant_token LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_retire_grant_with_grant_token HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_cross_accounts_access LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMSMultiAccounts::test_cross_accounts_access HTTP Status Code: 200

RevokeGrant

Parameters: GrantId, KeyId
  • LocalStack Community
    • test_revoke_grant LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_revoke_grant HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_cross_accounts_access LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMSMultiAccounts::test_cross_accounts_access HTTP Status Code: 200

ScheduleKeyDeletion

Parameters: KeyId
  • LocalStack Community
    • test_cdk_bootstrap[10] LocalStack Community: tests/aws/services/cloudformation/resources/test_cdk.py::TestCdkInit::test_cdk_bootstrap[10] HTTP Status Code: 200 AWS validated
    • test_cdk_bootstrap[11] LocalStack Community: tests/aws/services/cloudformation/resources/test_cdk.py::TestCdkInit::test_cdk_bootstrap[11] HTTP Status Code: 200 AWS validated
    • test_cdk_bootstrap[12] LocalStack Community: tests/aws/services/cloudformation/resources/test_cdk.py::TestCdkInit::test_cdk_bootstrap[12] HTTP Status Code: 200 AWS validated
    • test_cfn_with_kms_resources LocalStack Community: tests/aws/services/cloudformation/resources/test_kms.py::test_cfn_with_kms_resources HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_deploy_stack_with_kms LocalStack Community: tests/aws/services/cloudformation/resources/test_kms.py::test_deploy_stack_with_kms HTTP Status Code: 200 AWS validated
    • test_kms_key_disabled LocalStack Community: tests/aws/services/cloudformation/resources/test_kms.py::test_kms_key_disabled HTTP Status Code: 200 AWS validated
    • test_cant_delete_deleted_key LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_cant_delete_deleted_key HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_cant_use_disabled_or_deleted_keys LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_cant_use_disabled_or_deleted_keys HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_schedule_and_cancel_key_deletion LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_schedule_and_cancel_key_deletion HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_cant_delete_deleted_key LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_cant_delete_deleted_key HTTP Status Code: 400 (KMSInvalidStateException) AWS validated Snapshot Tested
  • LocalStack Pro
    • test_rds_cluster_with_kms LocalStack Pro: tests/aws/services/cloudformation/resources/test_rds.py::test_rds_cluster_with_kms HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_cognito_custom_email_signup LocalStack Pro: tests/aws/services/cognito/test_cognito.py::TestTriggers::test_cognito_custom_email_signup HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_create_key LocalStack Pro: tests/aws/services/kms/test_kms.py::TestKMS::test_create_key HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_create_key_alias LocalStack Pro: tests/aws/services/kms/test_kms.py::TestKMS::test_create_key_alias HTTP Status Code: 200 AWS validated Snapshot Tested
Parameters: KeyId, PendingWindowInDays
  • LocalStack Community
    • test_all_types_of_key_id_can_be_used_for_encryption LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_all_types_of_key_id_can_be_used_for_encryption HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_create_alias LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_create_alias HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_create_grant_with_same_name_two_keys LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_create_grant_with_same_name_two_keys HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_create_grant_with_valid_key LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_create_grant_with_valid_key HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_create_key LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_create_key HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_create_key_custom_id LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_create_key_custom_id HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_create_key_custom_key_material_hmac LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_create_key_custom_key_material_hmac HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_create_key_custom_key_material_symmetric_decrypt LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_create_key_custom_key_material_symmetric_decrypt HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_create_list_delete_alias LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_create_list_delete_alias HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_create_multi_region_key LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_create_multi_region_key HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_derive_shared_secret LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_derive_shared_secret HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_describe_and_list_sign_key LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_describe_and_list_sign_key HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_disable_and_enable_key LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_disable_and_enable_key HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_encrypt_decrypt[RSA_2048-RSAES_OAEP_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_encrypt_decrypt[RSA_2048-RSAES_OAEP_SHA_256] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_encrypt_decrypt[SYMMETRIC_DEFAULT-SYMMETRIC_DEFAULT] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_encrypt_decrypt[SYMMETRIC_DEFAULT-SYMMETRIC_DEFAULT] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_encrypt_decrypt_encryption_context LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_encrypt_decrypt_encryption_context HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_encrypt_validate_plaintext_size_per_key_type[RSA_2048-RSAES_OAEP_SHA_1] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_encrypt_validate_plaintext_size_per_key_type[RSA_2048-RSAES_OAEP_SHA_1] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_encrypt_validate_plaintext_size_per_key_type[RSA_2048-RSAES_OAEP_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_encrypt_validate_plaintext_size_per_key_type[RSA_2048-RSAES_OAEP_SHA_256] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_encrypt_validate_plaintext_size_per_key_type[RSA_3072-RSAES_OAEP_SHA_1] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_encrypt_validate_plaintext_size_per_key_type[RSA_3072-RSAES_OAEP_SHA_1] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_encrypt_validate_plaintext_size_per_key_type[RSA_3072-RSAES_OAEP_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_encrypt_validate_plaintext_size_per_key_type[RSA_3072-RSAES_OAEP_SHA_256] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_encrypt_validate_plaintext_size_per_key_type[RSA_4096-RSAES_OAEP_SHA_1] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_encrypt_validate_plaintext_size_per_key_type[RSA_4096-RSAES_OAEP_SHA_1] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_encrypt_validate_plaintext_size_per_key_type[RSA_4096-RSAES_OAEP_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_encrypt_validate_plaintext_size_per_key_type[RSA_4096-RSAES_OAEP_SHA_256] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_error_messaging_for_invalid_keys LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_error_messaging_for_invalid_keys HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_generate_and_verify_mac[HMAC_224-HMAC_SHA_224] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_generate_and_verify_mac[HMAC_224-HMAC_SHA_224] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_generate_and_verify_mac[HMAC_256-HMAC_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_generate_and_verify_mac[HMAC_256-HMAC_SHA_256] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_generate_and_verify_mac[HMAC_384-HMAC_SHA_384] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_generate_and_verify_mac[HMAC_384-HMAC_SHA_384] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_generate_and_verify_mac[HMAC_512-HMAC_SHA_512] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_generate_and_verify_mac[HMAC_512-HMAC_SHA_512] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_get_key_does_not_exist LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_get_key_does_not_exist HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_get_key_in_different_region LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_get_key_in_different_region HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_get_parameters_for_import LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_get_parameters_for_import HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_get_public_key LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_get_public_key HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_get_put_list_key_policies LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_get_put_list_key_policies HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_hmac_create_key LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_hmac_create_key HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_import_key_asymmetric LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_import_key_asymmetric HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_import_key_symmetric LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_import_key_symmetric HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_invalid_generate_mac[HMAC_224-HMAC_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_invalid_generate_mac[HMAC_224-HMAC_SHA_256] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_invalid_generate_mac[HMAC_256-INVALID] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_invalid_generate_mac[HMAC_256-INVALID] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_invalid_key_usage LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_invalid_key_usage HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_invalid_verify_mac[HMAC_256-HMAC_SHA_256-some different important message] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_invalid_verify_mac[HMAC_256-HMAC_SHA_256-some different important message] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_invalid_verify_mac[HMAC_256-HMAC_SHA_512-some important message] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_invalid_verify_mac[HMAC_256-HMAC_SHA_512-some important message] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_invalid_verify_mac[HMAC_256-INVALID-some important message] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_invalid_verify_mac[HMAC_256-INVALID-some important message] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_key_rotation_status LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_key_rotation_status HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_list_aliases_of_key LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_list_aliases_of_key HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_list_keys LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_list_keys HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_list_retirable_grants LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_list_retirable_grants HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_non_multi_region_keys_should_not_have_multi_region_properties LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_non_multi_region_keys_should_not_have_multi_region_properties HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_plaintext_size_for_encrypt LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_plaintext_size_for_encrypt HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_replicate_key LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_replicate_key HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_retire_grant_with_grant_id_and_key_id LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_retire_grant_with_grant_id_and_key_id HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_retire_grant_with_grant_token LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_retire_grant_with_grant_token HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_revoke_grant LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_revoke_grant HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_schedule_and_cancel_key_deletion LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_schedule_and_cancel_key_deletion HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_sign_verify[ECC_NIST_P256-ECDSA_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[ECC_NIST_P256-ECDSA_SHA_256] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_sign_verify[ECC_NIST_P384-ECDSA_SHA_384] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[ECC_NIST_P384-ECDSA_SHA_384] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_sign_verify[ECC_SECG_P256K1-ECDSA_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[ECC_SECG_P256K1-ECDSA_SHA_256] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_sign_verify[RSA_2048-RSASSA_PSS_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[RSA_2048-RSASSA_PSS_SHA_256] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_sign_verify[RSA_2048-RSASSA_PSS_SHA_384] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[RSA_2048-RSASSA_PSS_SHA_384] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_sign_verify[RSA_2048-RSASSA_PSS_SHA_512] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[RSA_2048-RSASSA_PSS_SHA_512] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_sign_verify[RSA_4096-RSASSA_PKCS1_V1_5_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[RSA_4096-RSASSA_PKCS1_V1_5_SHA_256] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_sign_verify[RSA_4096-RSASSA_PKCS1_V1_5_SHA_512] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[RSA_4096-RSASSA_PKCS1_V1_5_SHA_512] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_symmetric_encrypt_offline_decrypt_online[RSA_2048-RSAES_OAEP_SHA_1] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_symmetric_encrypt_offline_decrypt_online[RSA_2048-RSAES_OAEP_SHA_1] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_symmetric_encrypt_offline_decrypt_online[RSA_2048-RSAES_OAEP_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_symmetric_encrypt_offline_decrypt_online[RSA_2048-RSAES_OAEP_SHA_256] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_symmetric_encrypt_offline_decrypt_online[RSA_3072-RSAES_OAEP_SHA_1] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_symmetric_encrypt_offline_decrypt_online[RSA_3072-RSAES_OAEP_SHA_1] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_symmetric_encrypt_offline_decrypt_online[RSA_3072-RSAES_OAEP_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_symmetric_encrypt_offline_decrypt_online[RSA_3072-RSAES_OAEP_SHA_256] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_symmetric_encrypt_offline_decrypt_online[RSA_4096-RSAES_OAEP_SHA_1] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_symmetric_encrypt_offline_decrypt_online[RSA_4096-RSAES_OAEP_SHA_1] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_symmetric_encrypt_offline_decrypt_online[RSA_4096-RSAES_OAEP_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_symmetric_encrypt_offline_decrypt_online[RSA_4096-RSAES_OAEP_SHA_256] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_tag_untag_list_tags LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_tag_untag_list_tags HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_update_alias LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_update_alias HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_update_key_description LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_update_key_description HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_encryption_context_generate_data_key LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMSGenerateKeys::test_encryption_context_generate_data_key HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_encryption_context_generate_data_key_pair LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMSGenerateKeys::test_encryption_context_generate_data_key_pair HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_encryption_context_generate_data_key_pair_without_plaintext LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMSGenerateKeys::test_encryption_context_generate_data_key_pair_without_plaintext HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_encryption_context_generate_data_key_without_plaintext LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMSGenerateKeys::test_encryption_context_generate_data_key_without_plaintext HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_generate_data_key LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMSGenerateKeys::test_generate_data_key HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_generate_data_key_pair LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMSGenerateKeys::test_generate_data_key_pair HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_generate_data_key_pair_without_plaintext LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMSGenerateKeys::test_generate_data_key_pair_without_plaintext HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_generate_data_key_without_plaintext LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMSGenerateKeys::test_generate_data_key_without_plaintext HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_cross_accounts_access LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMSMultiAccounts::test_cross_accounts_access HTTP Status Code: 200
    • test_copy_object_kms LocalStack Community: tests/aws/services/s3/test_s3.py::TestS3::test_copy_object_kms HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_s3_copy_object_in_place_with_encryption LocalStack Community: tests/aws/services/s3/test_s3.py::TestS3::test_s3_copy_object_in_place_with_encryption HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_s3_multipart_upload_sse LocalStack Community: tests/aws/services/s3/test_s3.py::TestS3::test_s3_multipart_upload_sse HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_s3_sse_bucket_key_default LocalStack Community: tests/aws/services/s3/test_s3.py::TestS3::test_s3_sse_bucket_key_default HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_s3_sse_validate_kms_key LocalStack Community: tests/aws/services/s3/test_s3.py::TestS3::test_s3_sse_validate_kms_key HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_s3_sse_validate_kms_key_state LocalStack Community: tests/aws/services/s3/test_s3.py::TestS3::test_s3_sse_validate_kms_key_state HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_s3_bucket_encryption_sse_kms LocalStack Community: tests/aws/services/s3/test_s3_api.py::TestS3BucketEncryption::test_s3_bucket_encryption_sse_kms HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_cross_account_access_non_default_key LocalStack Community: tests/aws/services/secretsmanager/test_secretsmanager.py::TestSecretsManagerMultiAccounts::test_cross_account_access_non_default_key HTTP Status Code: 200 AWS validated
    • test_cant_delete_deleted_key LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_cant_delete_deleted_key HTTP Status Code: 400 (KMSInvalidStateException) AWS validated Snapshot Tested
    • test_cant_use_disabled_or_deleted_keys LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_cant_use_disabled_or_deleted_keys HTTP Status Code: 400 (KMSInvalidStateException) AWS validated Snapshot Tested
    • test_s3_sse_validate_kms_key_state LocalStack Community: tests/aws/services/s3/test_s3.py::TestS3::test_s3_sse_validate_kms_key_state HTTP Status Code: 400 (KMSInvalidStateException) AWS validated Snapshot Tested
  • LocalStack Pro
    • test_kms_cross_account_encrypt LocalStack Pro: tests/aws/services/iam/test_iam_cross_account.py::TestLambdaCrossAccount::test_kms_cross_account_encrypt HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_kms_key LocalStack Pro: tests/aws/services/iam/test_iam_enforcement.py::TestIAMEnforcementResourceBasedPolicies::test_kms_key HTTP Status Code: 200 AWS validated Snapshot Tested

Sign

Parameters: KeyId, Message, MessageType, SigningAlgorithm
  • LocalStack Community
    • test_import_key_asymmetric LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_import_key_asymmetric HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_sign_verify[ECC_NIST_P256-ECDSA_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[ECC_NIST_P256-ECDSA_SHA_256] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_sign_verify[ECC_NIST_P384-ECDSA_SHA_384] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[ECC_NIST_P384-ECDSA_SHA_384] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_sign_verify[ECC_SECG_P256K1-ECDSA_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[ECC_SECG_P256K1-ECDSA_SHA_256] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_sign_verify[RSA_2048-RSASSA_PSS_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[RSA_2048-RSASSA_PSS_SHA_256] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_sign_verify[RSA_2048-RSASSA_PSS_SHA_384] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[RSA_2048-RSASSA_PSS_SHA_384] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_sign_verify[RSA_2048-RSASSA_PSS_SHA_512] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[RSA_2048-RSASSA_PSS_SHA_512] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_sign_verify[RSA_4096-RSASSA_PKCS1_V1_5_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[RSA_4096-RSASSA_PKCS1_V1_5_SHA_256] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_sign_verify[RSA_4096-RSASSA_PKCS1_V1_5_SHA_512] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[RSA_4096-RSASSA_PKCS1_V1_5_SHA_512] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_cross_accounts_access LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMSMultiAccounts::test_cross_accounts_access HTTP Status Code: 200
    • test_error_messaging_for_invalid_keys LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_error_messaging_for_invalid_keys HTTP Status Code: 400 (InvalidKeyUsageException) AWS validated Snapshot Tested
    • test_invalid_key_usage LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_invalid_key_usage HTTP Status Code: 400 (InvalidKeyUsageException) AWS validated Snapshot Tested
    • test_sign_verify[ECC_NIST_P256-ECDSA_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[ECC_NIST_P256-ECDSA_SHA_256] HTTP Status Code: 400 (ValidationException) AWS validated Snapshot Tested
    • test_sign_verify[ECC_NIST_P384-ECDSA_SHA_384] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[ECC_NIST_P384-ECDSA_SHA_384] HTTP Status Code: 400 (ValidationException) AWS validated Snapshot Tested
    • test_sign_verify[ECC_SECG_P256K1-ECDSA_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[ECC_SECG_P256K1-ECDSA_SHA_256] HTTP Status Code: 400 (ValidationException) AWS validated Snapshot Tested
    • test_sign_verify[RSA_2048-RSASSA_PSS_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[RSA_2048-RSASSA_PSS_SHA_256] HTTP Status Code: 400 (ValidationException) AWS validated Snapshot Tested
    • test_sign_verify[RSA_2048-RSASSA_PSS_SHA_384] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[RSA_2048-RSASSA_PSS_SHA_384] HTTP Status Code: 400 (ValidationException) AWS validated Snapshot Tested
    • test_sign_verify[RSA_2048-RSASSA_PSS_SHA_512] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[RSA_2048-RSASSA_PSS_SHA_512] HTTP Status Code: 400 (ValidationException) AWS validated Snapshot Tested
    • test_sign_verify[RSA_4096-RSASSA_PKCS1_V1_5_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[RSA_4096-RSASSA_PKCS1_V1_5_SHA_256] HTTP Status Code: 400 (ValidationException) AWS validated Snapshot Tested
    • test_sign_verify[RSA_4096-RSASSA_PKCS1_V1_5_SHA_512] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[RSA_4096-RSASSA_PKCS1_V1_5_SHA_512] HTTP Status Code: 400 (ValidationException) AWS validated Snapshot Tested

TagResource

Parameters: KeyId, Tags
  • LocalStack Community
    • test_tag_untag_list_tags LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_tag_untag_list_tags HTTP Status Code: 200 AWS validated Snapshot Tested

UntagResource

Parameters: KeyId, TagKeys
  • LocalStack Community
    • test_tag_untag_list_tags LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_tag_untag_list_tags HTTP Status Code: 200 AWS validated Snapshot Tested

UpdateAlias

Parameters: AliasName, TargetKeyId
  • LocalStack Community
    • test_update_alias LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_update_alias HTTP Status Code: 200 AWS validated Snapshot Tested

UpdateKeyDescription

Parameters: Description, KeyId
  • LocalStack Community
    • test_update_key_description LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_update_key_description HTTP Status Code: 200 AWS validated Snapshot Tested

Verify

Parameters: KeyId, Message, MessageType, Signature, SigningAlgorithm
  • LocalStack Community
    • test_import_key_asymmetric LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_import_key_asymmetric HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_sign_verify[ECC_NIST_P256-ECDSA_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[ECC_NIST_P256-ECDSA_SHA_256] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_sign_verify[ECC_NIST_P384-ECDSA_SHA_384] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[ECC_NIST_P384-ECDSA_SHA_384] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_sign_verify[ECC_SECG_P256K1-ECDSA_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[ECC_SECG_P256K1-ECDSA_SHA_256] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_sign_verify[RSA_2048-RSASSA_PSS_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[RSA_2048-RSASSA_PSS_SHA_256] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_sign_verify[RSA_2048-RSASSA_PSS_SHA_384] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[RSA_2048-RSASSA_PSS_SHA_384] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_sign_verify[RSA_2048-RSASSA_PSS_SHA_512] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[RSA_2048-RSASSA_PSS_SHA_512] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_sign_verify[RSA_4096-RSASSA_PKCS1_V1_5_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[RSA_4096-RSASSA_PKCS1_V1_5_SHA_256] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_sign_verify[RSA_4096-RSASSA_PKCS1_V1_5_SHA_512] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[RSA_4096-RSASSA_PKCS1_V1_5_SHA_512] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_error_messaging_for_invalid_keys LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_error_messaging_for_invalid_keys HTTP Status Code: 400 (InvalidKeyUsageException) AWS validated Snapshot Tested
    • test_sign_verify[ECC_NIST_P256-ECDSA_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[ECC_NIST_P256-ECDSA_SHA_256] HTTP Status Code: 400 (KMSInvalidSignatureException) AWS validated Snapshot Tested
    • test_sign_verify[ECC_NIST_P256-ECDSA_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[ECC_NIST_P256-ECDSA_SHA_256] HTTP Status Code: 400 (ValidationException) AWS validated Snapshot Tested
    • test_sign_verify[ECC_NIST_P384-ECDSA_SHA_384] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[ECC_NIST_P384-ECDSA_SHA_384] HTTP Status Code: 400 (KMSInvalidSignatureException) AWS validated Snapshot Tested
    • test_sign_verify[ECC_NIST_P384-ECDSA_SHA_384] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[ECC_NIST_P384-ECDSA_SHA_384] HTTP Status Code: 400 (ValidationException) AWS validated Snapshot Tested
    • test_sign_verify[ECC_SECG_P256K1-ECDSA_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[ECC_SECG_P256K1-ECDSA_SHA_256] HTTP Status Code: 400 (KMSInvalidSignatureException) AWS validated Snapshot Tested
    • test_sign_verify[ECC_SECG_P256K1-ECDSA_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[ECC_SECG_P256K1-ECDSA_SHA_256] HTTP Status Code: 400 (ValidationException) AWS validated Snapshot Tested
    • test_sign_verify[RSA_2048-RSASSA_PSS_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[RSA_2048-RSASSA_PSS_SHA_256] HTTP Status Code: 400 (KMSInvalidSignatureException) AWS validated Snapshot Tested
    • test_sign_verify[RSA_2048-RSASSA_PSS_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[RSA_2048-RSASSA_PSS_SHA_256] HTTP Status Code: 400 (ValidationException) AWS validated Snapshot Tested
    • test_sign_verify[RSA_2048-RSASSA_PSS_SHA_384] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[RSA_2048-RSASSA_PSS_SHA_384] HTTP Status Code: 400 (KMSInvalidSignatureException) AWS validated Snapshot Tested
    • test_sign_verify[RSA_2048-RSASSA_PSS_SHA_384] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[RSA_2048-RSASSA_PSS_SHA_384] HTTP Status Code: 400 (ValidationException) AWS validated Snapshot Tested
    • test_sign_verify[RSA_2048-RSASSA_PSS_SHA_512] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[RSA_2048-RSASSA_PSS_SHA_512] HTTP Status Code: 400 (KMSInvalidSignatureException) AWS validated Snapshot Tested
    • test_sign_verify[RSA_2048-RSASSA_PSS_SHA_512] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[RSA_2048-RSASSA_PSS_SHA_512] HTTP Status Code: 400 (ValidationException) AWS validated Snapshot Tested
    • test_sign_verify[RSA_4096-RSASSA_PKCS1_V1_5_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[RSA_4096-RSASSA_PKCS1_V1_5_SHA_256] HTTP Status Code: 400 (KMSInvalidSignatureException) AWS validated Snapshot Tested
    • test_sign_verify[RSA_4096-RSASSA_PKCS1_V1_5_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[RSA_4096-RSASSA_PKCS1_V1_5_SHA_256] HTTP Status Code: 400 (ValidationException) AWS validated Snapshot Tested
    • test_sign_verify[RSA_4096-RSASSA_PKCS1_V1_5_SHA_512] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[RSA_4096-RSASSA_PKCS1_V1_5_SHA_512] HTTP Status Code: 400 (KMSInvalidSignatureException) AWS validated Snapshot Tested
    • test_sign_verify[RSA_4096-RSASSA_PKCS1_V1_5_SHA_512] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_sign_verify[RSA_4096-RSASSA_PKCS1_V1_5_SHA_512] HTTP Status Code: 400 (ValidationException) AWS validated Snapshot Tested
Parameters: KeyId, Message, Signature, SigningAlgorithm
  • LocalStack Community
    • test_cross_accounts_access LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMSMultiAccounts::test_cross_accounts_access HTTP Status Code: 200

VerifyMac

Parameters: KeyId, Mac, MacAlgorithm, Message
  • LocalStack Community
    • test_create_key_custom_key_material_hmac LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_create_key_custom_key_material_hmac HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_generate_and_verify_mac[HMAC_224-HMAC_SHA_224] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_generate_and_verify_mac[HMAC_224-HMAC_SHA_224] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_generate_and_verify_mac[HMAC_256-HMAC_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_generate_and_verify_mac[HMAC_256-HMAC_SHA_256] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_generate_and_verify_mac[HMAC_384-HMAC_SHA_384] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_generate_and_verify_mac[HMAC_384-HMAC_SHA_384] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_generate_and_verify_mac[HMAC_512-HMAC_SHA_512] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_generate_and_verify_mac[HMAC_512-HMAC_SHA_512] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_cross_accounts_access LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMSMultiAccounts::test_cross_accounts_access HTTP Status Code: 200
    • test_generate_and_verify_mac[HMAC_224-HMAC_SHA_224] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_generate_and_verify_mac[HMAC_224-HMAC_SHA_224] HTTP Status Code: 400 (NotFoundException) AWS validated Snapshot Tested
    • test_generate_and_verify_mac[HMAC_256-HMAC_SHA_256] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_generate_and_verify_mac[HMAC_256-HMAC_SHA_256] HTTP Status Code: 400 (NotFoundException) AWS validated Snapshot Tested
    • test_generate_and_verify_mac[HMAC_384-HMAC_SHA_384] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_generate_and_verify_mac[HMAC_384-HMAC_SHA_384] HTTP Status Code: 400 (NotFoundException) AWS validated Snapshot Tested
    • test_generate_and_verify_mac[HMAC_512-HMAC_SHA_512] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_generate_and_verify_mac[HMAC_512-HMAC_SHA_512] HTTP Status Code: 400 (NotFoundException) AWS validated Snapshot Tested
    • test_invalid_verify_mac[HMAC_256-HMAC_SHA_256-some different important message] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_invalid_verify_mac[HMAC_256-HMAC_SHA_256-some different important message] HTTP Status Code: 400 (KMSInvalidMacException) AWS validated Snapshot Tested
    • test_invalid_verify_mac[HMAC_256-HMAC_SHA_512-some important message] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_invalid_verify_mac[HMAC_256-HMAC_SHA_512-some important message] HTTP Status Code: 400 (InvalidKeyUsageException) AWS validated Snapshot Tested
    • test_invalid_verify_mac[HMAC_256-INVALID-some important message] LocalStack Community: tests/aws/services/kms/test_kms.py::TestKMS::test_invalid_verify_mac[HMAC_256-INVALID-some important message] HTTP Status Code: 400 (ValidationException) AWS validated Snapshot Tested