Add jwtTokenAuth to plugin metadata schema (#30346)

This commit is contained in:
Marcus Olsson authored and GitHub committed 2021-01-19 16:01:35 +01:00
1 parent ffd86f2a5b
commit 6f0bfa78ec
2 files changed
+69 -9

No files matched your search

@@ -380,6 +380,41 @@
}
}
}
},
"jwtTokenAuth": {
"type": "object",
"description": "For data source plugins. Token authentication section used with an JWT OAuth API.",
"additionalProperties": false,
"properties": {
"url": {
"type": "string",
"description": "For data source plugins. URL to fetch the JWT token.",
"format": "uri"
},
"params": {
"type": "object",
"description": "For data source plugins. Parameters for the token authentication request.",
"additionalProperties": false,
"properties": {
"grant_type": {
"type": "string",
"description": "For data source plugins. OAuth grant type."
},
"client_id": {
"type": "string",
"description": "For data source plugins. OAuth client id."
},
"client_secret": {
"type": "string",
"description": "For data source plugins. OAuth client secret. Usually populated by decrypting the secret from the SecureJson blob."
},
"resource": {
"type": "string",
"description": "For data source plugins. OAuth resource."
}
}
}
}
}
}
}