|
647 | 647 | "purpose", |
648 | 648 | "audience" |
649 | 649 | ] |
| 650 | + }, |
| 651 | + "AuthentikIdentityProviderConfig": { |
| 652 | + "type": "object", |
| 653 | + "additionalProperties": false, |
| 654 | + "properties": { |
| 655 | + "provider": { |
| 656 | + "const": "authentik" |
| 657 | + }, |
| 658 | + "purpose": { |
| 659 | + "const": "sso" |
| 660 | + }, |
| 661 | + "clientId": { |
| 662 | + "anyOf": [ |
| 663 | + { |
| 664 | + "type": "object", |
| 665 | + "properties": { |
| 666 | + "env": { |
| 667 | + "type": "string", |
| 668 | + "description": "The name of the environment variable that contains the token." |
| 669 | + } |
| 670 | + }, |
| 671 | + "required": [ |
| 672 | + "env" |
| 673 | + ], |
| 674 | + "additionalProperties": false |
| 675 | + }, |
| 676 | + { |
| 677 | + "type": "object", |
| 678 | + "properties": { |
| 679 | + "googleCloudSecret": { |
| 680 | + "type": "string", |
| 681 | + "description": "The resource name of a Google Cloud secret. Must be in the format `projects/<project-id>/secrets/<secret-name>/versions/<version-id>`. See https://cloud.google.com/secret-manager/docs/creating-and-accessing-secrets" |
| 682 | + } |
| 683 | + }, |
| 684 | + "required": [ |
| 685 | + "googleCloudSecret" |
| 686 | + ], |
| 687 | + "additionalProperties": false |
| 688 | + } |
| 689 | + ] |
| 690 | + }, |
| 691 | + "clientSecret": { |
| 692 | + "anyOf": [ |
| 693 | + { |
| 694 | + "type": "object", |
| 695 | + "properties": { |
| 696 | + "env": { |
| 697 | + "type": "string", |
| 698 | + "description": "The name of the environment variable that contains the token." |
| 699 | + } |
| 700 | + }, |
| 701 | + "required": [ |
| 702 | + "env" |
| 703 | + ], |
| 704 | + "additionalProperties": false |
| 705 | + }, |
| 706 | + { |
| 707 | + "type": "object", |
| 708 | + "properties": { |
| 709 | + "googleCloudSecret": { |
| 710 | + "type": "string", |
| 711 | + "description": "The resource name of a Google Cloud secret. Must be in the format `projects/<project-id>/secrets/<secret-name>/versions/<version-id>`. See https://cloud.google.com/secret-manager/docs/creating-and-accessing-secrets" |
| 712 | + } |
| 713 | + }, |
| 714 | + "required": [ |
| 715 | + "googleCloudSecret" |
| 716 | + ], |
| 717 | + "additionalProperties": false |
| 718 | + } |
| 719 | + ] |
| 720 | + }, |
| 721 | + "issuer": { |
| 722 | + "anyOf": [ |
| 723 | + { |
| 724 | + "type": "object", |
| 725 | + "properties": { |
| 726 | + "env": { |
| 727 | + "type": "string", |
| 728 | + "description": "The name of the environment variable that contains the token." |
| 729 | + } |
| 730 | + }, |
| 731 | + "required": [ |
| 732 | + "env" |
| 733 | + ], |
| 734 | + "additionalProperties": false |
| 735 | + }, |
| 736 | + { |
| 737 | + "type": "object", |
| 738 | + "properties": { |
| 739 | + "googleCloudSecret": { |
| 740 | + "type": "string", |
| 741 | + "description": "The resource name of a Google Cloud secret. Must be in the format `projects/<project-id>/secrets/<secret-name>/versions/<version-id>`. See https://cloud.google.com/secret-manager/docs/creating-and-accessing-secrets" |
| 742 | + } |
| 743 | + }, |
| 744 | + "required": [ |
| 745 | + "googleCloudSecret" |
| 746 | + ], |
| 747 | + "additionalProperties": false |
| 748 | + } |
| 749 | + ] |
| 750 | + } |
| 751 | + }, |
| 752 | + "required": [ |
| 753 | + "provider", |
| 754 | + "purpose", |
| 755 | + "clientId", |
| 756 | + "clientSecret", |
| 757 | + "issuer" |
| 758 | + ] |
650 | 759 | } |
651 | 760 | }, |
652 | 761 | "oneOf": [ |
|
1293 | 1402 | "purpose", |
1294 | 1403 | "audience" |
1295 | 1404 | ] |
| 1405 | + }, |
| 1406 | + { |
| 1407 | + "type": "object", |
| 1408 | + "additionalProperties": false, |
| 1409 | + "properties": { |
| 1410 | + "provider": { |
| 1411 | + "const": "authentik" |
| 1412 | + }, |
| 1413 | + "purpose": { |
| 1414 | + "const": "sso" |
| 1415 | + }, |
| 1416 | + "clientId": { |
| 1417 | + "anyOf": [ |
| 1418 | + { |
| 1419 | + "type": "object", |
| 1420 | + "properties": { |
| 1421 | + "env": { |
| 1422 | + "type": "string", |
| 1423 | + "description": "The name of the environment variable that contains the token." |
| 1424 | + } |
| 1425 | + }, |
| 1426 | + "required": [ |
| 1427 | + "env" |
| 1428 | + ], |
| 1429 | + "additionalProperties": false |
| 1430 | + }, |
| 1431 | + { |
| 1432 | + "type": "object", |
| 1433 | + "properties": { |
| 1434 | + "googleCloudSecret": { |
| 1435 | + "type": "string", |
| 1436 | + "description": "The resource name of a Google Cloud secret. Must be in the format `projects/<project-id>/secrets/<secret-name>/versions/<version-id>`. See https://cloud.google.com/secret-manager/docs/creating-and-accessing-secrets" |
| 1437 | + } |
| 1438 | + }, |
| 1439 | + "required": [ |
| 1440 | + "googleCloudSecret" |
| 1441 | + ], |
| 1442 | + "additionalProperties": false |
| 1443 | + } |
| 1444 | + ] |
| 1445 | + }, |
| 1446 | + "clientSecret": { |
| 1447 | + "anyOf": [ |
| 1448 | + { |
| 1449 | + "type": "object", |
| 1450 | + "properties": { |
| 1451 | + "env": { |
| 1452 | + "type": "string", |
| 1453 | + "description": "The name of the environment variable that contains the token." |
| 1454 | + } |
| 1455 | + }, |
| 1456 | + "required": [ |
| 1457 | + "env" |
| 1458 | + ], |
| 1459 | + "additionalProperties": false |
| 1460 | + }, |
| 1461 | + { |
| 1462 | + "type": "object", |
| 1463 | + "properties": { |
| 1464 | + "googleCloudSecret": { |
| 1465 | + "type": "string", |
| 1466 | + "description": "The resource name of a Google Cloud secret. Must be in the format `projects/<project-id>/secrets/<secret-name>/versions/<version-id>`. See https://cloud.google.com/secret-manager/docs/creating-and-accessing-secrets" |
| 1467 | + } |
| 1468 | + }, |
| 1469 | + "required": [ |
| 1470 | + "googleCloudSecret" |
| 1471 | + ], |
| 1472 | + "additionalProperties": false |
| 1473 | + } |
| 1474 | + ] |
| 1475 | + }, |
| 1476 | + "issuer": { |
| 1477 | + "anyOf": [ |
| 1478 | + { |
| 1479 | + "type": "object", |
| 1480 | + "properties": { |
| 1481 | + "env": { |
| 1482 | + "type": "string", |
| 1483 | + "description": "The name of the environment variable that contains the token." |
| 1484 | + } |
| 1485 | + }, |
| 1486 | + "required": [ |
| 1487 | + "env" |
| 1488 | + ], |
| 1489 | + "additionalProperties": false |
| 1490 | + }, |
| 1491 | + { |
| 1492 | + "type": "object", |
| 1493 | + "properties": { |
| 1494 | + "googleCloudSecret": { |
| 1495 | + "type": "string", |
| 1496 | + "description": "The resource name of a Google Cloud secret. Must be in the format `projects/<project-id>/secrets/<secret-name>/versions/<version-id>`. See https://cloud.google.com/secret-manager/docs/creating-and-accessing-secrets" |
| 1497 | + } |
| 1498 | + }, |
| 1499 | + "required": [ |
| 1500 | + "googleCloudSecret" |
| 1501 | + ], |
| 1502 | + "additionalProperties": false |
| 1503 | + } |
| 1504 | + ] |
| 1505 | + } |
| 1506 | + }, |
| 1507 | + "required": [ |
| 1508 | + "provider", |
| 1509 | + "purpose", |
| 1510 | + "clientId", |
| 1511 | + "clientSecret", |
| 1512 | + "issuer" |
| 1513 | + ] |
1296 | 1514 | } |
1297 | 1515 | ] |
1298 | 1516 | } |
|
0 commit comments