Skip to content
Tracon

TraconTenantProviderOptions

Namespace Tracon · Assembly Tracon.Abstractions.dll

Options that constrain per-tenant model provider bindings (BYOK).

public sealed class TraconTenantProviderOptions

objectTraconTenantProviderOptions

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

TraconTenantProviderOptions.AllowedConfigurationPrefix is a security boundary, not a convenience default. Without it, a tenant manager could bind ApiKeyConfigurationName to an unrelated key such as ConnectionStrings:Default — unable to read its value, but able to make calls billed to it.

public TraconTenantProviderOptions()

Gets or sets the only prefix under which a configuration key may be referenced by a tenant provider binding. Default is "Tracon:ProviderKeys:".

public string AllowedConfigurationPrefix { get; set; }

string