Understand auth security schemes
After you create an integration, a security scheme authentication object is added to the service configuration properties.
Supported security schemes
The following security schemes are supported:
apiKey(including AWS)httpsoauth2mutualTLSOpenIDConnectScheme
Considerations
- Tokens must be self-managed.
- For Amazon Web Services (AWS), ensure the
securitySchemeentry is anapiKeyand has the following extension:"x-amazon-apigateway-authtype": "awsSigv4". - When you import an integration model, you can only a single security scheme is supported.
- The first scheme in the
securitySchememap is automatically selected.
Example security schemes
Listed below are examples of each security scheme that can be used with Integration Models. The property names API-Token and Authorization in the API Key and AWS examples come from the name of the securityScheme property in the OpenAPI document.
API Key
AWS
AWS Lambda
Certain AWS endpoints (i.e., AWS Sig4) may need a configured sessionToken. Itential Platform includes support for AWS Lambda, a custom extension to OpenAPI that requires a key/secret and a session token.
HTTP (Basic and Bearer)
Basic:
Bearer: