Skip to content

Interface: HttpApiKeyAuth ​

key: value as a header, or key=value added to the query, percent-encoded.

Properties ​

addTo? ​

ts
optional addTo?: HttpAuthAddTo;

authType ​

ts
authType: "api-key";

key ​

ts
key: string;

The header's or the query parameter's name.


value ​

ts
value: string;

ctx.secret(name).

Released under the Apache-2.0 License.