|
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 | },
|
|
446 | 440 | }
|
447 | 441 | ],
|
448 | 442 | "anyOf": [
|
449 |
| - { |
450 |
| - "type": "string", |
451 |
| - "description": "Direct token value (SECURITY RISK: not recommended for production - use secrets or environment variables instead)", |
452 |
| - "minLength": 1 |
453 |
| - }, |
454 | 443 | {
|
455 | 444 | "type": "object",
|
456 | 445 | "properties": {
|
457 | 446 | "secret": {
|
458 | 447 | "type": "string",
|
| 448 | + "minLength": 1, |
459 | 449 | "description": "The name of the secret that contains the token."
|
460 | 450 | }
|
461 | 451 | },
|
|
469 | 459 | "properties": {
|
470 | 460 | "env": {
|
471 | 461 | "type": "string",
|
| 462 | + "minLength": 1, |
472 | 463 | "description": "The name of the environment variable that contains the token. Only supported in declarative connection configs."
|
473 | 464 | }
|
474 | 465 | },
|
|
624 | 615 | ]
|
625 | 616 | },
|
626 | 617 | "password": {
|
627 |
| - "description": "Gerrit HTTP password (not your account password). Generate this in Gerrit → Settings → HTTP Credentials → Generate Password.", |
| 618 | + "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.", |
628 | 619 | "examples": [
|
629 | 620 | {
|
630 | 621 | "env": "GERRIT_HTTP_PASSWORD"
|
|
634 | 625 | }
|
635 | 626 | ],
|
636 | 627 | "anyOf": [
|
637 |
| - { |
638 |
| - "type": "string", |
639 |
| - "description": "Direct token value (SECURITY RISK: not recommended for production - use secrets or environment variables instead)", |
640 |
| - "minLength": 1 |
641 |
| - }, |
642 | 628 | {
|
643 | 629 | "type": "object",
|
644 | 630 | "properties": {
|
645 | 631 | "secret": {
|
646 | 632 | "type": "string",
|
| 633 | + "minLength": 1, |
647 | 634 | "description": "The name of the secret that contains the token."
|
648 | 635 | }
|
649 | 636 | },
|
|
657 | 644 | "properties": {
|
658 | 645 | "env": {
|
659 | 646 | "type": "string",
|
| 647 | + "minLength": 1, |
660 | 648 | "description": "The name of the environment variable that contains the token. Only supported in declarative connection configs."
|
661 | 649 | }
|
662 | 650 | },
|
|
785 | 773 | }
|
786 | 774 | ],
|
787 | 775 | "anyOf": [
|
788 |
| - { |
789 |
| - "type": "string", |
790 |
| - "description": "Direct token value (SECURITY RISK: not recommended for production - use secrets or environment variables instead)", |
791 |
| - "minLength": 1 |
792 |
| - }, |
793 | 776 | {
|
794 | 777 | "type": "object",
|
795 | 778 | "properties": {
|
796 | 779 | "secret": {
|
797 | 780 | "type": "string",
|
| 781 | + "minLength": 1, |
798 | 782 | "description": "The name of the secret that contains the token."
|
799 | 783 | }
|
800 | 784 | },
|
|
808 | 792 | "properties": {
|
809 | 793 | "env": {
|
810 | 794 | "type": "string",
|
| 795 | + "minLength": 1, |
811 | 796 | "description": "The name of the environment variable that contains the token. Only supported in declarative connection configs."
|
812 | 797 | }
|
813 | 798 | },
|
|
0 commit comments