Skip to content

Commit 8fbc55c

Browse files
committed
Export FLE secrets to enable testing
1 parent d01877d commit 8fbc55c

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.evergreen/config.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,19 @@ functions:
326326
working_dir: "src"
327327
script: |
328328
${PREPARE_SHELL}
329+
export AWS_ACCESS_KEY_ID="${client_side_encryption_aws_access_key_id}"
330+
export AWS_SECRET_ACCESS_KEY="${client_side_encryption_aws_secret_access_key}"
331+
export AZURE_TENANT_ID="${client_side_encryption_azure_tenant_id}"
332+
export AZURE_CLIENT_ID="${client_side_encryption_azure_client_id}"
333+
export AZURE_CLIENT_SECRET="${client_side_encryption_azure_client_secret}"
334+
export GCP_EMAIL="${client_side_encryption_gcp_email}"
335+
export GCP_PRIVATE_KEY="${client_side_encryption_gcp_privatekey}"
336+
export KMIP_ENDPOINT="${client_side_encryption_kmip_endpoint}"
337+
export KMS_ENDPOINT_EXPIRED="${client_side_encryption_kms_endpoint_expired}"
338+
export KMS_ENDPOINT_WRONG_HOST="${client_side_encryption_kms_endpoint_wrong_host}"
339+
export KMS_ENDPOINT_REQUIRE_CLIENT_CERT="${client_side_encryption_kms_endpoint_require_client_cert}"
340+
export KMS_TLS_CA_FILE="${client_side_encryption_kms_tls_ca_file}"
341+
export KMS_TLS_CERTIFICATE_KEY_FILE="${client_side_encryption_kms_tls_certificate_key_file}"
329342
export MONGODB_IS_SERVERLESS=on
330343
export MONGODB_USERNAME=${SERVERLESS_ATLAS_USER}
331344
export MONGODB_PASSWORD=${SERVERLESS_ATLAS_PASSWORD}

0 commit comments

Comments
 (0)