Skip to content

Commit 4c3ab54

Browse files
Removed the print statement and hardcoded value
1 parent 842e8a6 commit 4c3ab54

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Deployment/scripts/aihub_scripts/create_ai_hub.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Get Azure Key Vault Client
2-
key_vault_name = "pslsc-kv-gzwijqcuyu2ry"
2+
key_vault_name = 'kv_to-be-replaced'
33

44
from azure.ai.ml import MLClient
55
from azure.ai.ml.entities import (
@@ -29,9 +29,6 @@ def get_secrets_from_kv(kv_name, secret_name):
2929
# Retrieve the secret value
3030
return secret_client.get_secret(secret_name).value
3131

32-
33-
print(get_secrets_from_kv(key_vault_name, "AZURE-SEARCH-ENDPOINT"))
34-
3532
# Azure configuration
3633

3734
key_vault_name = 'kv_to-be-replaced'

0 commit comments

Comments
 (0)