|
21 | 21 | } |
22 | 22 | ], |
23 | 23 | "anyOf": [ |
24 | | - { |
25 | | - "type": "string", |
26 | | - "description": "Direct token value (SECURITY RISK: not recommended for production - use secrets or environment variables instead)", |
27 | | - "minLength": 1 |
28 | | - }, |
29 | 24 | { |
30 | 25 | "type": "object", |
31 | 26 | "properties": { |
32 | 27 | "secret": { |
33 | 28 | "type": "string", |
| 29 | + "minLength": 1, |
34 | 30 | "description": "The name of the secret that contains the token." |
35 | 31 | } |
36 | 32 | }, |
|
44 | 40 | "properties": { |
45 | 41 | "env": { |
46 | 42 | "type": "string", |
| 43 | + "minLength": 1, |
47 | 44 | "description": "The name of the environment variable that contains the token. Only supported in declarative connection configs." |
48 | 45 | } |
49 | 46 | }, |
|
239 | 236 | } |
240 | 237 | ], |
241 | 238 | "anyOf": [ |
242 | | - { |
243 | | - "type": "string", |
244 | | - "description": "Direct token value (SECURITY RISK: not recommended for production - use secrets or environment variables instead)", |
245 | | - "minLength": 1 |
246 | | - }, |
247 | 239 | { |
248 | 240 | "type": "object", |
249 | 241 | "properties": { |
250 | 242 | "secret": { |
251 | 243 | "type": "string", |
| 244 | + "minLength": 1, |
252 | 245 | "description": "The name of the secret that contains the token." |
253 | 246 | } |
254 | 247 | }, |
|
262 | 255 | "properties": { |
263 | 256 | "env": { |
264 | 257 | "type": "string", |
| 258 | + "minLength": 1, |
265 | 259 | "description": "The name of the environment variable that contains the token. Only supported in declarative connection configs." |
266 | 260 | } |
267 | 261 | }, |
|
451 | 445 | } |
452 | 446 | ], |
453 | 447 | "anyOf": [ |
454 | | - { |
455 | | - "type": "string", |
456 | | - "description": "Direct token value (SECURITY RISK: not recommended for production - use secrets or environment variables instead)", |
457 | | - "minLength": 1 |
458 | | - }, |
459 | 448 | { |
460 | 449 | "type": "object", |
461 | 450 | "properties": { |
462 | 451 | "secret": { |
463 | 452 | "type": "string", |
| 453 | + "minLength": 1, |
464 | 454 | "description": "The name of the secret that contains the token." |
465 | 455 | } |
466 | 456 | }, |
|
474 | 464 | "properties": { |
475 | 465 | "env": { |
476 | 466 | "type": "string", |
| 467 | + "minLength": 1, |
477 | 468 | "description": "The name of the environment variable that contains the token. Only supported in declarative connection configs." |
478 | 469 | } |
479 | 470 | }, |
|
629 | 620 | ] |
630 | 621 | }, |
631 | 622 | "password": { |
632 | | - "description": "Gerrit HTTP password (not your account password). Generate this in Gerrit → Settings → HTTP Credentials → Generate Password.", |
| 623 | + "description": "Gerrit HTTP password (not your account password). Generate this in Gerrit → Settings → HTTP Credentials → Generate Password. Note: HTTP password authentication requires Gerrit's auth.gitBasicAuthPolicy to be set to HTTP or HTTP_LDAP.", |
633 | 624 | "examples": [ |
634 | 625 | { |
635 | 626 | "env": "GERRIT_HTTP_PASSWORD" |
|
639 | 630 | } |
640 | 631 | ], |
641 | 632 | "anyOf": [ |
642 | | - { |
643 | | - "type": "string", |
644 | | - "description": "Direct token value (SECURITY RISK: not recommended for production - use secrets or environment variables instead)", |
645 | | - "minLength": 1 |
646 | | - }, |
647 | 633 | { |
648 | 634 | "type": "object", |
649 | 635 | "properties": { |
650 | 636 | "secret": { |
651 | 637 | "type": "string", |
| 638 | + "minLength": 1, |
652 | 639 | "description": "The name of the secret that contains the token." |
653 | 640 | } |
654 | 641 | }, |
|
662 | 649 | "properties": { |
663 | 650 | "env": { |
664 | 651 | "type": "string", |
| 652 | + "minLength": 1, |
665 | 653 | "description": "The name of the environment variable that contains the token. Only supported in declarative connection configs." |
666 | 654 | } |
667 | 655 | }, |
|
790 | 778 | } |
791 | 779 | ], |
792 | 780 | "anyOf": [ |
793 | | - { |
794 | | - "type": "string", |
795 | | - "description": "Direct token value (SECURITY RISK: not recommended for production - use secrets or environment variables instead)", |
796 | | - "minLength": 1 |
797 | | - }, |
798 | 781 | { |
799 | 782 | "type": "object", |
800 | 783 | "properties": { |
801 | 784 | "secret": { |
802 | 785 | "type": "string", |
| 786 | + "minLength": 1, |
803 | 787 | "description": "The name of the secret that contains the token." |
804 | 788 | } |
805 | 789 | }, |
|
813 | 797 | "properties": { |
814 | 798 | "env": { |
815 | 799 | "type": "string", |
| 800 | + "minLength": 1, |
816 | 801 | "description": "The name of the environment variable that contains the token. Only supported in declarative connection configs." |
817 | 802 | } |
818 | 803 | }, |
|
0 commit comments