Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AzureBlobConnectionFactory"/> class.
 /// </summary>
 /// <param name="azureKeyVaultService">Azure key vault service.</param>
 public AzureBlobConnectionFactory(AzureKeyVaultService azureKeyVaultService)
 {
     if (azureKeyVaultService != null)
     {
         this.connectionString = azureKeyVaultService.GetSecretByName("BlobStorage");
     }
 }
Exemplo n.º 2
0
 public MtoaFileService(AzureKeyVaultService azureKeyVaultService)
 {
     api_key = azureKeyVaultService.GetSecretByName("MtoaApiKey");
     jwt     = azureKeyVaultService.GetSecretByName("MtoaJwt");
 }