diff --git a/source/client-side-encryption/tests/unified/createDataKey-kms_providers-invalid.yml b/source/client-side-encryption/tests/unified/createDataKey-kms_providers-invalid.yml index f692a09075..fee5a823f2 100644 --- a/source/client-side-encryption/tests/unified/createDataKey-kms_providers-invalid.yml +++ b/source/client-side-encryption/tests/unified/createDataKey-kms_providers-invalid.yml @@ -58,7 +58,7 @@ tests: kmsProvider: aws opts: masterKey: - key: arn:aws:kms:us-east-1:579766882180:key/89fcc2c4-08b0-4bd9-9f25-e30687b580d0 + key: "arn:aws:kms:us-east-1:579766882180:key/89fcc2c4-08b0-4bd9-9f25-e30687b580d0" region: invalid expectError: isClientError: true diff --git a/source/client-side-encryption/tests/unified/createDataKey.yml b/source/client-side-encryption/tests/unified/createDataKey.yml index dd14638637..84f0c625cc 100644 --- a/source/client-side-encryption/tests/unified/createDataKey.yml +++ b/source/client-side-encryption/tests/unified/createDataKey.yml @@ -44,7 +44,7 @@ tests: kmsProvider: aws opts: masterKey: &new_aws_masterkey - key: arn:aws:kms:us-east-1:579766882180:key/89fcc2c4-08b0-4bd9-9f25-e30687b580d0 + key: "arn:aws:kms:us-east-1:579766882180:key/89fcc2c4-08b0-4bd9-9f25-e30687b580d0" region: us-east-1 expectResult: { $$type: binData } expectEvents: diff --git a/source/client-side-encryption/tests/unified/deleteKey.yml b/source/client-side-encryption/tests/unified/deleteKey.yml index c598e94698..56acf115a5 100644 --- a/source/client-side-encryption/tests/unified/deleteKey.yml +++ b/source/client-side-encryption/tests/unified/deleteKey.yml @@ -39,7 +39,7 @@ initialData: status: 1 masterKey: provider: aws - key: arn:aws:kms:us-east-1:579766882180:key/89fcc2c4-08b0-4bd9-9f25-e30687b580d0 + key: "arn:aws:kms:us-east-1:579766882180:key/89fcc2c4-08b0-4bd9-9f25-e30687b580d0" region: us-east-1 - &local_key_doc _id: &local_key_id { $binary: { base64: bG9jYWxrZXlsb2NhbGtleQ==, subType: "04" } } diff --git a/source/client-side-encryption/tests/unified/getKey.yml b/source/client-side-encryption/tests/unified/getKey.yml index 1499227615..65022dc2ad 100644 --- a/source/client-side-encryption/tests/unified/getKey.yml +++ b/source/client-side-encryption/tests/unified/getKey.yml @@ -39,7 +39,7 @@ initialData: status: 1 masterKey: provider: aws - key: arn:aws:kms:us-east-1:579766882180:key/89fcc2c4-08b0-4bd9-9f25-e30687b580d0 + key: "arn:aws:kms:us-east-1:579766882180:key/89fcc2c4-08b0-4bd9-9f25-e30687b580d0" region: us-east-1 - &local_key_doc _id: &local_key_id { $binary: { base64: bG9jYWxrZXlsb2NhbGtleQ==, subType: "04" } } diff --git a/source/client-side-encryption/tests/unified/getKeyByAltName.yml b/source/client-side-encryption/tests/unified/getKeyByAltName.yml index b0cada879a..e9da7231ef 100644 --- a/source/client-side-encryption/tests/unified/getKeyByAltName.yml +++ b/source/client-side-encryption/tests/unified/getKeyByAltName.yml @@ -39,7 +39,7 @@ initialData: status: 1 masterKey: provider: aws - key: arn:aws:kms:us-east-1:579766882180:key/89fcc2c4-08b0-4bd9-9f25-e30687b580d0 + key: "arn:aws:kms:us-east-1:579766882180:key/89fcc2c4-08b0-4bd9-9f25-e30687b580d0" region: us-east-1 - &local_key_doc _id: { $binary: { base64: bG9jYWxrZXlsb2NhbGtleQ==, subType: "04" } } diff --git a/source/client-side-encryption/tests/unified/rewrapManyDataKey-decrypt_failure.yml b/source/client-side-encryption/tests/unified/rewrapManyDataKey-decrypt_failure.yml index 3a6e521881..d61912ecfb 100644 --- a/source/client-side-encryption/tests/unified/rewrapManyDataKey-decrypt_failure.yml +++ b/source/client-side-encryption/tests/unified/rewrapManyDataKey-decrypt_failure.yml @@ -43,7 +43,7 @@ initialData: masterKey: provider: aws # "us-east-1" changed to "us-east-2" in both key and region. - key: arn:aws:kms:us-east-2:579766882180:key/89fcc2c4-08b0-4bd9-9f25-e30687b580d0 + key: "arn:aws:kms:us-east-2:579766882180:key/89fcc2c4-08b0-4bd9-9f25-e30687b580d0" region: us-east-2 tests: diff --git a/source/client-side-encryption/tests/unified/rewrapManyDataKey-encrypt_failure.yml b/source/client-side-encryption/tests/unified/rewrapManyDataKey-encrypt_failure.yml index b947c8ce7f..0ec3ebb56c 100644 --- a/source/client-side-encryption/tests/unified/rewrapManyDataKey-encrypt_failure.yml +++ b/source/client-side-encryption/tests/unified/rewrapManyDataKey-encrypt_failure.yml @@ -54,7 +54,7 @@ tests: provider: aws masterKey: # "us-east-1" changed to "us-east-2" in both key and region. - key: arn:aws:kms:us-east-2:579766882180:key/89fcc2c4-08b0-4bd9-9f25-e30687b580d0 + key: "arn:aws:kms:us-east-2:579766882180:key/89fcc2c4-08b0-4bd9-9f25-e30687b580d0" region: us-east-2 expectError: isClientError: true diff --git a/source/client-side-encryption/tests/unified/rewrapManyDataKey.yml b/source/client-side-encryption/tests/unified/rewrapManyDataKey.yml index cc20e1b171..b7d293b9f2 100644 --- a/source/client-side-encryption/tests/unified/rewrapManyDataKey.yml +++ b/source/client-side-encryption/tests/unified/rewrapManyDataKey.yml @@ -46,7 +46,7 @@ initialData: status: 1 masterKey: &aws_masterkey provider: aws - key: arn:aws:kms:us-east-1:579766882180:key/89fcc2c4-08b0-4bd9-9f25-e30687b580d0 + key: "arn:aws:kms:us-east-1:579766882180:key/89fcc2c4-08b0-4bd9-9f25-e30687b580d0" region: us-east-1 - _id: &azure_key_id { $binary: { base64: YXp1cmVhenVyZWF6dXJlYQ==, subType: "04" } } keyAltNames: ["azure_key"] @@ -120,7 +120,7 @@ tests: provider: aws # Different key: 89fcc2c4-08b0-4bd9-9f25-e30687b580d0 -> 061334ae-07a8-4ceb-a813-8135540e837d. masterKey: &new_aws_masterkey - key: arn:aws:kms:us-east-1:579766882180:key/061334ae-07a8-4ceb-a813-8135540e837d + key: "arn:aws:kms:us-east-1:579766882180:key/061334ae-07a8-4ceb-a813-8135540e837d" region: us-east-1 expectResult: bulkWriteResult: