You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: openapi.yaml
+52Lines changed: 52 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -12303,6 +12303,11 @@ paths:
12303
12303
expires_at:
12304
12304
type: string
12305
12305
format: date-time
12306
+
secret_mappings:
12307
+
type: array
12308
+
items:
12309
+
$ref: '#/components/schemas/SecretMapping'
12310
+
description: Dynamically resolve secrets from secret references at runtime. Valid target_field values are "key" or "model_config.<field>" (e.g. "model_config.awsSecretAccessKey"). Each target_field must be unique. When "key" is mapped, the key field becomes optional.
12306
12311
examples:
12307
12312
generic:
12308
12313
value:
@@ -12637,6 +12642,11 @@ paths:
12637
12642
required: ["apiVersion", "deploymentName"]
12638
12643
usage_limits:
12639
12644
$ref: "#/components/schemas/UsageLimits"
12645
+
secret_mappings:
12646
+
type: array
12647
+
items:
12648
+
$ref: '#/components/schemas/SecretMapping'
12649
+
description: Dynamically resolve secrets from secret references at runtime. Valid target_field values are "key" or "model_config.<field>" (e.g. "model_config.awsSecretAccessKey"). Each target_field must be unique.
12640
12650
responses:
12641
12651
"200":
12642
12652
description: Successful response
@@ -31121,6 +31131,11 @@ components:
31121
31131
pattern: '^[a-zA-Z0-9_-]+$'
31122
31132
maxLength: 255
31123
31133
description: Custom slug for the auto-created default provider. Only applicable for workspace-scoped integrations. If the slug already exists in the workspace, the request will fail with a validation error.
31134
+
secret_mappings:
31135
+
type: array
31136
+
items:
31137
+
$ref: '#/components/schemas/SecretMapping'
31138
+
description: Dynamically resolve secrets from secret references at runtime. Valid target_field values are "key" or "configurations.<field>" (e.g. "configurations.aws_secret_access_key", "configurations.azure_entra_client_secret"). Each target_field must be unique. When "key" is mapped, the key body field can be omitted.
description: Dynamically resolve secrets from secret references at runtime. Valid target_field values are "key" or "configurations.<field>" (e.g. "configurations.aws_secret_access_key", "configurations.azure_entra_client_secret"). Each target_field must be unique.
31164
31184
31165
31185
IntegrationDetailResponse:
31166
31186
allOf:
@@ -31211,6 +31231,11 @@ components:
31211
31231
workspace_count:
31212
31232
type: integer
31213
31233
description: Number of workspaces with access to this integration
31234
+
secret_mappings:
31235
+
type: array
31236
+
items:
31237
+
$ref: '#/components/schemas/SecretMapping'
31238
+
description: Secret reference mappings for this integration. Valid target_field values are "key" or "configurations.<field>".
31214
31239
31215
31240
GlobalWorkspaceAccess:
31216
31241
type: object
@@ -31458,6 +31483,28 @@ components:
31458
31483
type: string
31459
31484
description: Custom headers to send with requests (can be used along with other provider specific configuration fields)
31460
31485
31486
+
SecretMapping:
31487
+
type: object
31488
+
required:
31489
+
- target_field
31490
+
- secret_reference_id
31491
+
properties:
31492
+
target_field:
31493
+
type: string
31494
+
description: |
31495
+
The field on the entity to populate from the secret reference. Must be unique within the array.
31496
+
- **Integrations**: `key` or `configurations.<field>` (e.g. `configurations.aws_secret_access_key`)
31497
+
- **Virtual Keys**: `key` or `model_config.<field>` (e.g. `model_config.awsSecretAccessKey`)
31498
+
example: "key"
31499
+
secret_reference_id:
31500
+
type: string
31501
+
description: UUID or slug of the secret reference. Must belong to the same organisation and be accessible by the workspace.
31502
+
example: "my-aws-secret"
31503
+
secret_key:
31504
+
type: string
31505
+
nullable: true
31506
+
description: Override the secret_key defined on the secret reference. Use to pick a specific key from a multi-value secret.
31507
+
31461
31508
CreateSecretReferenceRequest:
31462
31509
type: object
31463
31510
required:
@@ -32081,6 +32128,11 @@ components:
32081
32128
expires_at:
32082
32129
type: string
32083
32130
format: date-time
32131
+
secret_mappings:
32132
+
type: array
32133
+
items:
32134
+
$ref: '#/components/schemas/SecretMapping'
32135
+
description: Secret reference mappings for this virtual key. Valid target_field values are "key" or "model_config.<field>".
0 commit comments