Azure Key Vault - robinrodricks/FluentStorage GitHub Wiki

In order to use Key Vault reference FluentStorage.Azure.KeyVault package first.

Connect to Azure Key Vault

You can use the AzureKeyVaultStorage factory class to connect to Azure Key Vault.

IStore store = AzureKeyVaultStorage.FromCredentials(vaultUri,tenantId,
	applicationId,applicationSecret, activeDirectoryAuthEndpoint);

Connect using Connection Strings

To create with a connection string, first reference the module:

AzureKeyVaultStorage.Use();

Then construct using any of these:

IStore store = StorageFactory.FromConnectionString("azure.keyvault://vaultUri=...;msi=True;bucket=...;region=...");

IStore store = StorageFactory.FromConnectionString("azure.keyvault://vaultUri=...;tenantId=...;clientId=...;principalSecret=...");

Perform storage operations

Use our simple polycloud API to perform file and object manipulation operations.

⚠️ **GitHub.com Fallback** ⚠️