Skip to content

AgentPrismTenantProviderOptions

Namespace AgentPrism · Assembly AgentPrism.Abstractions.dll

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

public sealed class AgentPrismTenantProviderOptions

objectAgentPrismTenantProviderOptions

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

AgentPrismTenantProviderOptions.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 AgentPrismTenantProviderOptions()

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

public string AllowedConfigurationPrefix { get; set; }

string