Class EmbeddingEndpointCredential
- Namespace
- MailFathom.AI.Embeddings
- Assembly
- MailFathom.AI.dll
What one embedding request presents to one endpoint, already resolved from whatever reference declared it.
public sealed class EmbeddingEndpointCredential : IDisposable
- Inheritance
-
EmbeddingEndpointCredential
- Implements
- Inherited Members
Remarks
The instance is owned by the request that resolved it and released when that request ends, which bounds the window in which a process dump could hold the key to one call rather than to process uptime. A key rotated behind an unchanged reference is therefore picked up by the next request, with no cache to invalidate.
A Microsoft Entra credential carries no material here at all. Its own secret, where the chosen shape has one, is resolved by whoever builds this value and released with it; what the request presents is an access token the credential fetches and caches for itself.
Properties
- Kind
Gets how the deployment proves its identity to the endpoint.
Methods
- Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
- FromApiKey(string, IDisposable?)
Builds a credential that presents a provider-issued key.
- FromEntra(EntraCredentialDeclaration, IDisposable?)
Builds a credential that presents a Microsoft Entra access token.