Skip to content

Commit af30036

Browse files
committed
export fle creds
1 parent d4fbdb7 commit af30036

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.evergreen/config.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -357,9 +357,14 @@ functions:
357357
working_dir: "src"
358358
script: |
359359
if [ -n "${test_encryption}" ]; then
360-
cat <<EOT > fle_aws_creds.sh
360+
cat <<EOT > fle_creds.sh
361361
export FLE_AWS_KEY="${fle_aws_key}"
362362
export FLE_AWS_SECRET="${fle_aws_secret}"
363+
export FLE_AZURE_CLIENTID="${fle_azure_clientid}"
364+
export FLE_AZURE_TENANTID="${fle_azure_tenantid}"
365+
export FLE_AZURE_CLIENTSECRET="${fle_azure_clientsecret}"
366+
export FLE_GCP_EMAIL="${fle_gcp_email}"
367+
export FLE_GCP_PRIVATEKEY="${fle_gcp_privatekey}"
363368
EOT
364369
fi
365370
- command: shell.exec
@@ -381,8 +386,8 @@ functions:
381386
if [ -n "${test_encryption}" ]; then
382387
# Disable xtrace (just in case it was accidentally set).
383388
set +x
384-
. ./fle_aws_creds.sh
385-
rm -f ./fle_aws_creds.sh
389+
. ./fle_creds.sh
390+
rm -f ./fle_creds.sh
386391
export LIBMONGOCRYPT_URL="${libmongocrypt_url}"
387392
export TEST_ENCRYPTION=1
388393
fi

0 commit comments

Comments
 (0)