public KeyNameProviderBindingProvider(IKeyNameProvider keyNameProvider) => _keyNameProvider = keyNameProvider;
public KeyVaultBlobClient(CloudBlobClient blobClient, IKeyVaultClient keyVaultClient, IKeyNameProvider keyNameProvider) { _blobClient = blobClient; _keyVaultClient = keyVaultClient; _keyNameProvider = keyNameProvider; }
public KeyNameProviderBinding(ParameterInfo parameterInfo, IKeyNameProvider keyNameProvider) { _parameterInfo = parameterInfo; _keyNameProvider = keyNameProvider; }
public ICloudBlobAsyncConverter(IKeyVaultClient keyVaultClient, IKeyNameProvider keyNameProvider) { _keyVaultClient = keyVaultClient; _keyNameProvider = keyNameProvider; }
public SimpleValueProvider(IKeyNameProvider keyNameProvider) => _keyNameProvider = keyNameProvider;
public EncryptedBlobAsyncCollector(EncryptedBlobAttribute config, IKeyVaultClient keyVaultClient, IKeyNameProvider keyNameProvider) { _config = config; var cloudBlobClient = CloudStorageAccount.Parse(config.BlobConnectionString).CreateCloudBlobClient(); if (string.IsNullOrWhiteSpace(keyNameProvider.DefaultKey) && config.KeyName is string kn && !string.IsNullOrWhiteSpace(kn)) { keyNameProvider.DefaultKey = kn; } _keyVaultBlobClient = new KeyVaultBlobClient(cloudBlobClient, keyVaultClient, keyNameProvider); }
public KeyVaultBlobsExtensionConfigProvider(ILoggerFactory loggerFactory, IKeyVaultClient keyVaultClient, IKeyNameProvider keyNameProvider) { _logger = loggerFactory.CreateLogger("KeyVault"); _keyVaultClient = keyVaultClient; _keyNameProvider = keyNameProvider; }