VaultSharp
Installation
dotnet add package Dosaic.Plugins.Persistence.VaultSharp<PackageReference Include="Dosaic.Plugins.Persistence.VaultSharp" Version=""/>Configuration
Vault server mode
vault:
url: "http://localhost:8200"
token: "your-vault-token"
totpIssuer: "MyApp" # optional — default: Dosaic.Plugins.Persistence.VaultSharp
totpPeriodInSeconds: 30 # optional — default: 30Local filesystem mode (development / testing)
VaultConfiguration properties
Property
Type
Default
Description
Vault mount points
Engine
Mount
Registration
With Dosaic WebHost (automatic)
Without Dosaic WebHost (manual)
Usage
Defining a secret bucket
ISecretStorage<TBucket> interface
SecretId<TBucket>
Secret types
UsernamePasswordSecret
UsernamePasswordApiKeySecret
UsernamePasswordTotpSecret
CertificateSecret
Updating and deleting secrets
Local TOTP code generation (TotpCodeGenerator)
Features
Health Checks
Mode
Check name
Probe
Last updated