|
358 | 358 | "order": 2,
|
359 | 359 | "type": "string"
|
360 | 360 | },
|
361 |
| - "azure_blob_storage_account_key": { |
362 |
| - "title": "Azure Blob Storage account key", |
363 |
| - "description": "The Azure blob storage account key.", |
364 |
| - "airbyte_secret": true, |
365 |
| - "examples": [ |
366 |
| - "Z8ZkZpteggFx394vm+PJHnGTvdRncaYS+JhLKdj789YNmD+iyGTnG+PV+POiuYNhBg/ACS+LKjd%4FG3FHGN12Nd==" |
367 |
| - ], |
| 361 | + "credentials": { |
| 362 | + "title": "Authentication", |
| 363 | + "description": "Credentials for connecting to the Azure Blob Storage", |
| 364 | + "type": "object", |
368 | 365 | "order": 3,
|
369 |
| - "type": "string" |
| 366 | + "oneOf": [ |
| 367 | + { |
| 368 | + "title": "Authenticate via Oauth2", |
| 369 | + "type": "object", |
| 370 | + "properties": { |
| 371 | + "auth_type": { |
| 372 | + "title": "Auth Type", |
| 373 | + "default": "oauth2", |
| 374 | + "const": "oauth2", |
| 375 | + "enum": ["oauth2"], |
| 376 | + "type": "string" |
| 377 | + }, |
| 378 | + "tenant_id": { |
| 379 | + "title": "Tenant ID", |
| 380 | + "description": "Tenant ID of the Microsoft Azure Application user", |
| 381 | + "airbyte_secret": true, |
| 382 | + "type": "string" |
| 383 | + }, |
| 384 | + "client_id": { |
| 385 | + "title": "Client ID", |
| 386 | + "description": "Client ID of your Microsoft developer application", |
| 387 | + "airbyte_secret": true, |
| 388 | + "type": "string" |
| 389 | + }, |
| 390 | + "client_secret": { |
| 391 | + "title": "Client Secret", |
| 392 | + "description": "Client Secret of your Microsoft developer application", |
| 393 | + "airbyte_secret": true, |
| 394 | + "type": "string" |
| 395 | + }, |
| 396 | + "refresh_token": { |
| 397 | + "title": "Refresh Token", |
| 398 | + "description": "Refresh Token of your Microsoft developer application", |
| 399 | + "airbyte_secret": true, |
| 400 | + "type": "string" |
| 401 | + } |
| 402 | + }, |
| 403 | + "required": [ |
| 404 | + "tenant_id", |
| 405 | + "client_id", |
| 406 | + "client_secret", |
| 407 | + "refresh_token", |
| 408 | + "auth_type" |
| 409 | + ] |
| 410 | + }, |
| 411 | + { |
| 412 | + "title": "Authenticate via Storage Account Key", |
| 413 | + "type": "object", |
| 414 | + "properties": { |
| 415 | + "auth_type": { |
| 416 | + "title": "Auth Type", |
| 417 | + "default": "storage_account_key", |
| 418 | + "const": "storage_account_key", |
| 419 | + "enum": ["storage_account_key"], |
| 420 | + "type": "string" |
| 421 | + }, |
| 422 | + "azure_blob_storage_account_key": { |
| 423 | + "title": "Azure Blob Storage account key", |
| 424 | + "description": "The Azure blob storage account key.", |
| 425 | + "airbyte_secret": true, |
| 426 | + "examples": [ |
| 427 | + "Z8ZkZpteggFx394vm+PJHnGTvdRncaYS+JhLKdj789YNmD+iyGTnG+PV+POiuYNhBg/ACS+LKjd%4FG3FHGN12Nd==" |
| 428 | + ], |
| 429 | + "order": 3, |
| 430 | + "type": "string" |
| 431 | + } |
| 432 | + }, |
| 433 | + "required": ["azure_blob_storage_account_key", "auth_type"] |
| 434 | + } |
| 435 | + ] |
370 | 436 | },
|
371 | 437 | "azure_blob_storage_container_name": {
|
372 | 438 | "title": "Azure blob storage container (Bucket) Name",
|
|
386 | 452 | "required": [
|
387 | 453 | "streams",
|
388 | 454 | "azure_blob_storage_account_name",
|
389 |
| - "azure_blob_storage_account_key", |
| 455 | + "credentials", |
390 | 456 | "azure_blob_storage_container_name"
|
391 | 457 | ]
|
| 458 | + }, |
| 459 | + "advanced_auth": { |
| 460 | + "auth_flow_type": "oauth2.0", |
| 461 | + "predicate_key": ["credentials", "auth_type"], |
| 462 | + "predicate_value": "oauth2", |
| 463 | + "oauth_config_specification": { |
| 464 | + "oauth_user_input_from_connector_config_specification": { |
| 465 | + "type": "object", |
| 466 | + "additionalProperties": false, |
| 467 | + "properties": { |
| 468 | + "tenant_id": { |
| 469 | + "type": "string", |
| 470 | + "path_in_connector_config": ["credentials", "tenant_id"] |
| 471 | + } |
| 472 | + } |
| 473 | + }, |
| 474 | + "complete_oauth_output_specification": { |
| 475 | + "type": "object", |
| 476 | + "additionalProperties": false, |
| 477 | + "properties": { |
| 478 | + "refresh_token": { |
| 479 | + "type": "string", |
| 480 | + "path_in_connector_config": ["credentials", "refresh_token"] |
| 481 | + } |
| 482 | + } |
| 483 | + }, |
| 484 | + "complete_oauth_server_input_specification": { |
| 485 | + "type": "object", |
| 486 | + "additionalProperties": false, |
| 487 | + "properties": { |
| 488 | + "client_id": { |
| 489 | + "type": "string" |
| 490 | + }, |
| 491 | + "client_secret": { |
| 492 | + "type": "string" |
| 493 | + } |
| 494 | + } |
| 495 | + }, |
| 496 | + "complete_oauth_server_output_specification": { |
| 497 | + "type": "object", |
| 498 | + "additionalProperties": false, |
| 499 | + "properties": { |
| 500 | + "client_id": { |
| 501 | + "type": "string", |
| 502 | + "path_in_connector_config": ["credentials", "client_id"] |
| 503 | + }, |
| 504 | + "client_secret": { |
| 505 | + "type": "string", |
| 506 | + "path_in_connector_config": ["credentials", "client_secret"] |
| 507 | + } |
| 508 | + } |
| 509 | + } |
| 510 | + } |
392 | 511 | }
|
393 | 512 | }
|
0 commit comments