Skip to content

Commit c2731ed

Browse files
Remove redundant retrieval of Azure client ID from Key Vault in create_grants_index.py
1 parent 5974e69 commit c2731ed

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

infra/scripts/index_scripts/create_grants_index.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,6 @@ def get_secrets_from_kv(kv_name, secret_name):
113113
openai_api_base = get_secrets_from_kv(key_vault_name,"AZURE-OPENAI-ENDPOINT")
114114
openai_api_version = get_secrets_from_kv(key_vault_name,"AZURE-OPENAI-PREVIEW-API-VERSION")
115115

116-
azure_client_id = get_secrets_from_kv(key_vault_name, "AZURE-CLIENT-ID")
117-
118116
# Set up your Azure Text Analytics service and credentials
119117
COG_SERVICES_NAME = get_secrets_from_kv(key_vault_name,"COG-SERVICES-NAME")
120118
COG_SERVICES_ENDPOINT = get_secrets_from_kv(key_vault_name,"COG-SERVICES-ENDPOINT")

0 commit comments

Comments
 (0)