Skip to content

Commit d17c024

Browse files
committed
add interpolation_context to auth fields
1 parent ff16dbf commit d17c024

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

airbyte_cdk/sources/declarative/declarative_component_schema.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1095,6 +1095,8 @@ definitions:
10951095
title: Secret Key
10961096
type: string
10971097
description: Secret used to sign the JSON web token.
1098+
interpolation_context:
1099+
- config
10981100
examples:
10991101
- "{{ config['secret_key'] }}"
11001102
base64_encode_secret_key:
@@ -1224,6 +1226,8 @@ definitions:
12241226
title: Client ID
12251227
description: The OAuth client ID. Fill it in the user inputs.
12261228
type: string
1229+
interpolation_context:
1230+
- config
12271231
examples:
12281232
- "{{ config['client_id }}"
12291233
- "{{ config['credentials']['client_id }}"
@@ -1238,6 +1242,8 @@ definitions:
12381242
title: Client Secret
12391243
description: The OAuth client secret. Fill it in the user inputs.
12401244
type: string
1245+
interpolation_context:
1246+
- config
12411247
examples:
12421248
- "{{ config['client_secret }}"
12431249
- "{{ config['credentials']['client_secret }}"
@@ -1252,6 +1258,8 @@ definitions:
12521258
title: Refresh Token
12531259
description: Credential artifact used to get a new access token.
12541260
type: string
1261+
interpolation_context:
1262+
- config
12551263
examples:
12561264
- "{{ config['refresh_token'] }}"
12571265
- "{{ config['credentials]['refresh_token'] }}"
@@ -1272,6 +1280,8 @@ definitions:
12721280
title: Access Token Value
12731281
description: The value of the access_token to bypass the token refreshing using `refresh_token`.
12741282
type: string
1283+
interpolation_context:
1284+
- config
12751285
examples:
12761286
- secret_access_token_value
12771287
expires_in_name:

0 commit comments

Comments
 (0)