Table of Contents

Class EncryptedFileStoreOptions

Namespace
JD.AI.Core.Providers.Credentials
Assembly
JD.AI.Core.dll

Configuration options for EncryptedFileStore.

public sealed record EncryptedFileStoreOptions : IEquatable<EncryptedFileStoreOptions>
Inheritance
EncryptedFileStoreOptions
Implements
Inherited Members

Fields

MountedSecretsPathEnvVar

public const string MountedSecretsPathEnvVar = "JDAI_CREDENTIALS_MOUNT_PATH"

Field Value

string

VaultAddressEnvVar

public const string VaultAddressEnvVar = "JDAI_VAULT_ADDR"

Field Value

string

VaultMountEnvVar

public const string VaultMountEnvVar = "JDAI_VAULT_MOUNT"

Field Value

string

VaultPrefixEnvVar

public const string VaultPrefixEnvVar = "JDAI_VAULT_PREFIX"

Field Value

string

VaultTokenEnvVar

public const string VaultTokenEnvVar = "JDAI_VAULT_TOKEN"

Field Value

string

Properties

MountedSecretsPath

public string? MountedSecretsPath { get; init; }

Property Value

string

VaultAddress

public string? VaultAddress { get; init; }

Property Value

string

VaultMount

public string VaultMount { get; init; }

Property Value

string

VaultPrefix

public string VaultPrefix { get; init; }

Property Value

string

VaultToken

public string? VaultToken { get; init; }

Property Value

string

Methods

FromEnvironment()

public static EncryptedFileStoreOptions FromEnvironment()

Returns

EncryptedFileStoreOptions