This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Microsoft.Playwright; | |
using NimblePros.SuperSecretProject.FrontEndTests.PageObjects; | |
namespace NimblePros.SuperSecretProject.FrontEndTests; | |
internal class AuthenticatedPlaywrightDriver : IDisposable | |
{ | |
private IPlaywright? _playwright; | |
private IBrowser? _browser; | |
private IBrowserContext? _context; | |
public AuthenticatedPlaywrightDriver() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
from azure.keyvault.secrets import SecretClient | |
from azure.identity import DefaultAzureCredential | |
keyVaultName = os.environ["KEY_VAULT_NAME"] | |
tenantId = os.environ["AZURE_TENANT_ID"] | |
secretName = "SecretPassword" | |
KVUri = f"https://{keyVaultName}.vault.azure.net" | |
# Breaking changes in 1.11.0 |