Skip to content

Commit

Permalink
Update the hint of where to get a lab certificate
Browse files Browse the repository at this point in the history
  • Loading branch information
rayluo committed Jan 23, 2025
1 parent 3803ae2 commit 3f3d133
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_e2e.py
Original file line number Diff line number Diff line change
Expand Up @@ -476,9 +476,10 @@ def get_lab_app(
if os.getenv(env_client_id) and os.getenv(env_client_cert_path):
# id came from https://docs.msidlab.com/accounts/confidentialclient.html
client_id = os.getenv(env_client_id)
# Cert came from https://ms.portal.azure.com/#@microsoft.onmicrosoft.com/asset/Microsoft_Azure_KeyVault/Certificate/https://msidlabs.vault.azure.net/certificates/LabVaultAccessCert
client_credential = {
"private_key_pfx_path": os.getenv(env_client_cert_path),
"private_key_pfx_path":
# Cert came from https://ms.portal.azure.com/#@microsoft.onmicrosoft.com/asset/Microsoft_Azure_KeyVault/Certificate/https://msidlabs.vault.azure.net/certificates/LabAuth
os.getenv(env_client_cert_path),
"public_certificate": True, # Opt in for SNI
}
elif os.getenv(env_client_id) and os.getenv(env_name2):
Expand Down

0 comments on commit 3f3d133

Please sign in to comment.