x-apigateway-auth-type
Meaning: Swagger-based apiKey authentication format, which defines an authentication mode provided by APIG.
Scope of effect: Security Scheme Object (2.0)/Security Scheme Object (3.0)
Swagger:
securityDefinitions:apig-auth-app:in: headername: Authorizationtype: apiKeyx-apigateway-auth-type: AppSigv1apig-auth-iam:in: headername: unusedtype: apiKeyx-apigateway-auth-type: IAM
OpenAPI example:
securitySchemes:apig-auth-app:in: headername: Authorizationtype: apiKeyx-apigateway-auth-type: AppSigv1apig-auth-iam:in: headername: unusedtype: apiKeyx-apigateway-auth-type: IAM
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. |
Parent topic: API Design File Extension Definitions