← Files GoodMemARCHIVED FILE

skills/goodmem-sdk/references/typescript/models/ApiKeyAuthBase.md

692 Bytes · Oct 2, 2026 · 00:24 UTC

↓ Download file

<!-- sdk-ref package=@pairsystems/goodmem registry=npm version=0.1.6 -->

# ApiKeyAuthBase

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

[TypeScript](../../typescript.md)

Related types — open only those used by your request:

- [SecretReference](SecretReference.md)

SHA-256: b654752c3c190dfce7c6240d2e25feaec499883ae55e3e8c08a98219bb849fe3