Skip to content

Commit be40cf6

Browse files
authored
feat(specs): add secrets authentications to ingestion (#4054)
1 parent 62de67b commit be40cf6

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

specs/ingestion/common/schemas/authentication.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ AuthenticationSearch:
103103
AuthenticationType:
104104
type: string
105105
description: Type of authentication. This determines the type of credentials required in the `input` object.
106-
enum: [googleServiceAccount, basic, apiKey, oauth, algolia, algoliaInsights]
106+
enum: [googleServiceAccount, basic, apiKey, oauth, algolia, algoliaInsights, secrets]
107107

108108
Platform:
109109
default: null
@@ -298,6 +298,12 @@ AuthAlgolia:
298298
- appID
299299
- apiKey
300300

301+
AuthSecrets:
302+
type: object
303+
description: A key:value authentication for your transformations.
304+
additionalProperties:
305+
type: string
306+
301307
AuthAlgoliaInsights:
302308
type: object
303309
additionalProperties: false
@@ -323,6 +329,7 @@ AuthInput:
323329
- $ref: '#/AuthOAuth'
324330
- $ref: '#/AuthAlgolia'
325331
- $ref: '#/AuthAlgoliaInsights'
332+
- $ref: '#/AuthSecrets'
326333

327334
AuthInputPartial:
328335
oneOf:

0 commit comments

Comments
 (0)