应用与数据集成平台 ROMA CONNECT-附录:API的Swagger扩展定义:1:x-apigateway-auth-type

时间:2024-06-25 14:09:33

1:x-apigateway-auth-type

含义:基于Swagger的apiKey认证格式,定义ROMA Connect支持的特有认证方式。

作用域Security Scheme Object

示例

securityDefinitions:
  customize-name-iam:
    type: "apiKey"
    name: "unused"
    in: "header"
    x-apigateway-auth-type: " IAM "
  customize-name-app:
    type: "apiKey"
    name: "Authorization"
    in: "header"
    x-apigateway-auth-type: "AppSigv1"
  customize-name-iam-none:
    type: "apiKey"
    name: "unused"
    in: "header"
    x-apigateway-auth-type: "IAM_NONE"
support.huaweicloud.com/usermanual-roma/roma_03_2135.html