nav-img
Advanced

x-apigateway-auth-type

Meaning: Swagger-based apiKey authentication format, which defines an authentication mode provided by APIG.

Swagger:

securityDefinitions:
apig-auth-app:
in: header
name: Authorization
type: apiKey
x-apigateway-auth-type: AppSigv1
apig-auth-iam:
in: header
name: unused
type: apiKey
x-apigateway-auth-type: IAM

OpenAPI example:

securitySchemes:
apig-auth-app:
in: header
name: Authorization
type: apiKey
x-apigateway-auth-type: AppSigv1
apig-auth-iam:
in: header
name: unused
type: apiKey
x-apigateway-auth-type: IAM
Table 1 Parameter description

Parameter

Mandatory

Type

Description

x-apigateway-auth-type

Yes

String

Authentication mode used on APIG. AppSigv1 and IAM are supported.

type

Yes

String

Authentication type. Only apiKey is supported.

name

Yes

String

Name of the parameter for authentication.

in

Yes

String

Only header is supported.

description

No

String

Description.