Azure Function with Queryable Encryption and Field Level Encryption (QE-FLE)
export MONGODB_URI=""
export SHARED_LIB_PATH=".//mongo_crypt_shared//lib//mongo_crypt_v1.so"
export AZURE_TENANT_ID=""
export AZURE_CLIENT_ID=""
export AZURE_CLIENT_SECRET=""
export AZURE_KEY_NAME=""
export AZURE_KEY_VERSION="
export AZURE_KEY_VAULT_ENDPOINT=""
Create appsettings.json and provide information below
[
{
"name" : " MONGODB_URI" ,
"slotSetting" : false ,
"value" : " "
},
{
"name" : " SHARED_LIB_PATH" ,
"slotSetting" : false ,
"value" : " .//mongo_crypt_shared//lib//mongo_crypt_v1.so"
},
{
"name" : " AZURE_TENANT_ID" ,
"slotSetting" : false ,
"value" : " "
},
{
"name" : " AZURE_CLIENT_ID" ,
"slotSetting" : false ,
"value" : " "
},
{
"name" : " AZURE_CLIENT_SECRET" ,
"slotSetting" : false ,
"value" : " "
},
{
"name" : " AZURE_KEY_NAME" ,
"slotSetting" : false ,
"value" : " "
},
{
"name" : " AZURE_KEY_VAULT_VERSION" ,
"slotSetting" : false ,
"value" : " "
},
{
"name" : " AZURE_KEY_VAULT_ENDPOINT" ,
"slotSetting" : false ,
"value" : " "
}
]