← Files GoodMemARCHIVED FILE

skills/goodmem-sdk/references/dotnet/models/ApiKeyAuth.md

786 Bytes · Oct 5, 2026 · 18:24 UTC

↓ Download file

<!-- sdk-ref package=PairSystems.Goodmem.Client registry=nuget version=2.0.2 -->

# ApiKeyAuth

Configuration for classic API-key authentication.

`Goodmem.Client.Models.ApiKeyAuth`

- `HeaderName` (`string?`): Desired HTTP header to carry the credential (defaults to Authorization) JSON: `headerName`.
- `InlineSecret` (`string?`): Secret stored directly in GoodMem (mutually exclusive with secretRef) JSON: `inlineSecret`.
- `Prefix` (`string?`): Optional prefix prepended to the secret (e.g., "Bearer ") JSON: `prefix`.
- `SecretRef` (`SecretReference?`): Reference to an external secret manager entry (mutually exclusive with inlineSecret) JSON: `secretRef`.

[.NET](../../dotnet.md)

Related types — open only those used by your request:

- [SecretReference](SecretReference.md)

SHA-256: ef902dd4ef1dd498f1bccb67fe1cb7b844ef2c8247ac3fd082b5d104ac667f5a