|
104 | 104 | "value": { |
105 | 105 | "type": "string", |
106 | 106 | "description": "Enter the JAAS config string. For SCRAM-SHA-256 or SCRAM-SHA-512: org.apache.kafka.common.security.scram.ScramLoginModule required username=\"<user>\" password=\"<pass>\"; \n\nFor AWS_MSK_IAM: software.amazon.msk.auth.iam.IAMLoginModule required; and additionalProperties sasl.client.callback.handler.class: software.amazon.msk.auth.iam.IAMClientCallbackHandler", |
107 | | - "minLength": 1 |
| 107 | + "x-secret": true, |
| 108 | + "anyOf": [ |
| 109 | + { "minLength": 1 }, |
| 110 | + { "const": "[secret hidden by Lenses]" } |
| 111 | + ] |
108 | 112 | } |
109 | 113 | }, |
110 | 114 | "required": ["value"], |
|
128 | 132 | "properties": { |
129 | 133 | "value": { |
130 | 134 | "type": "string", |
131 | | - "description": "Enter a password for the keystore." |
| 135 | + "description": "Enter a password for the keystore.", |
| 136 | + "x-secret": true, |
| 137 | + "anyOf": [ |
| 138 | + { "type": "string" }, |
| 139 | + { "const": "[secret hidden by Lenses]" } |
| 140 | + ] |
132 | 141 | } |
133 | 142 | }, |
134 | 143 | "required": ["value"] |
|
139 | 148 | "properties": { |
140 | 149 | "value": { |
141 | 150 | "type": "string", |
142 | | - "description": "Enter key password (can be empty)." |
| 151 | + "description": "Enter key password (can be empty).", |
| 152 | + "x-secret": true, |
| 153 | + "anyOf": [ |
| 154 | + { "type": "string" }, |
| 155 | + { "const": "[secret hidden by Lenses]" } |
| 156 | + ] |
143 | 157 | } |
144 | 158 | }, |
145 | 159 | "required": ["value"] |
|
162 | 176 | "properties": { |
163 | 177 | "value": { |
164 | 178 | "type": "string", |
165 | | - "description": "Enter a password for the truststore." |
| 179 | + "description": "Enter a password for the truststore.", |
| 180 | + "x-secret": true, |
| 181 | + "anyOf": [ |
| 182 | + { "type": "string" }, |
| 183 | + { "const": "[secret hidden by Lenses]" } |
| 184 | + ] |
166 | 185 | } |
167 | 186 | }, |
168 | 187 | "required": ["value"] |
|
229 | 248 | "metricsPassword": { |
230 | 249 | "type": "object", |
231 | 250 | "description": "Password for metrics authentication.", |
232 | | - "properties": { "value": { "type": "string" } }, |
| 251 | + "properties": { |
| 252 | + "value": { |
| 253 | + "type": "string", |
| 254 | + "x-secret": true, |
| 255 | + "anyOf": [ |
| 256 | + { "type": "string" }, |
| 257 | + { "const": "[secret hidden by Lenses]" } |
| 258 | + ] |
| 259 | + } |
| 260 | + }, |
233 | 261 | "required": ["value"] |
234 | 262 | }, |
235 | 263 | "metricsHttpSuffix": { |
|
291 | 319 | "value": { |
292 | 320 | "type": "string", |
293 | 321 | "description": "Enter the password (non empty).", |
294 | | - "pattern": "^.+$" |
| 322 | + "x-secret": true, |
| 323 | + "anyOf": [ |
| 324 | + { "pattern": "^.+$" }, |
| 325 | + { "const": "[secret hidden by Lenses]" } |
| 326 | + ] |
295 | 327 | } |
296 | 328 | }, |
297 | 329 | "required": ["value"] |
|
314 | 346 | "value": { |
315 | 347 | "description": "Enter the basic auth user information (non empty).", |
316 | 348 | "type": "string", |
317 | | - "pattern": "^.+$" |
| 349 | + "x-secret": true, |
| 350 | + "anyOf": [ |
| 351 | + { "pattern": "^.+$" }, |
| 352 | + { "const": "[secret hidden by Lenses]" } |
| 353 | + ] |
318 | 354 | } |
319 | 355 | } |
320 | 356 | }, |
|
384 | 420 | "value": { |
385 | 421 | "type": "string", |
386 | 422 | "description": "Enter the session token value (non empty).", |
387 | | - "pattern": "^[a-zA-Z0-9-]+$" |
| 423 | + "x-secret": true, |
| 424 | + "anyOf": [ |
| 425 | + { "pattern": "^[a-zA-Z0-9-]+$" }, |
| 426 | + { "const": "[secret hidden by Lenses]" } |
| 427 | + ] |
388 | 428 | } |
389 | 429 | }, |
390 | 430 | "required": ["value"] |
|
550 | 590 | "value": { |
551 | 591 | "type": "string", |
552 | 592 | "description": "Enter the token value (non empty).", |
553 | | - "pattern": "^[A-Za-z0-9_-]+$" |
| 593 | + "x-secret": true, |
| 594 | + "anyOf": [ |
| 595 | + { "pattern": "^[A-Za-z0-9_-]+$" }, |
| 596 | + { "const": "[secret hidden by Lenses]" } |
| 597 | + ] |
554 | 598 | } |
555 | 599 | }, |
556 | 600 | "required": ["value"] |
|
574 | 618 | "value": { |
575 | 619 | "type": "string", |
576 | 620 | "description": "Enter the Slack webhook URL (non empty).", |
577 | | - "pattern": "^(https?:\\/\\/.+)$" |
| 621 | + "x-secret": true, |
| 622 | + "anyOf": [ |
| 623 | + { "pattern": "^(https?:\\/\\/.+)$" }, |
| 624 | + { "const": "[secret hidden by Lenses]" } |
| 625 | + ] |
578 | 626 | } |
579 | 627 | }, |
580 | 628 | "required": ["value"] |
|
586 | 634 | "value": { |
587 | 635 | "type": "string", |
588 | 636 | "description": "Enter the integration key value (non empty).", |
589 | | - "pattern": "^.+$", |
590 | | - "x-secret": true |
| 637 | + "x-secret": true, |
| 638 | + "anyOf": [ |
| 639 | + { "pattern": "^.+$" }, |
| 640 | + { "const": "[secret hidden by Lenses]" } |
| 641 | + ] |
591 | 642 | } |
592 | 643 | }, |
593 | 644 | "required": ["value"] |
|
611 | 662 | "value": { |
612 | 663 | "type": "string", |
613 | 664 | "description": "Enter the API key value (non empty).", |
614 | | - "pattern": "^.+$", |
615 | | - "x-secret": true |
| 665 | + "x-secret": true, |
| 666 | + "anyOf": [ |
| 667 | + { "pattern": "^.+$" }, |
| 668 | + { "const": "[secret hidden by Lenses]" } |
| 669 | + ] |
616 | 670 | } |
617 | 671 | }, |
618 | 672 | "required": ["value"] |
|
624 | 678 | "value": { |
625 | 679 | "type": "string", |
626 | 680 | "description": "Enter the application key value (non empty).", |
627 | | - "pattern": "^.+$", |
628 | | - "x-secret": true |
| 681 | + "x-secret": true, |
| 682 | + "anyOf": [ |
| 683 | + { "pattern": "^.+$" }, |
| 684 | + { "const": "[secret hidden by Lenses]" } |
| 685 | + ] |
629 | 686 | } |
630 | 687 | }, |
631 | 688 | "required": ["value"] |
|
636 | 693 | "properties": { |
637 | 694 | "value": { |
638 | 695 | "type": "array", |
| 696 | + "x-secret": true, |
639 | 697 | "items": { |
640 | 698 | "type": "string", |
641 | 699 | "description": "Enter the credential string (non empty).", |
642 | | - "pattern": "^.+$" |
| 700 | + "anyOf": [ |
| 701 | + { "pattern": "^.+$" }, |
| 702 | + { "const": "[secret hidden by Lenses]" } |
| 703 | + ] |
643 | 704 | }, |
644 | 705 | "description": "Array of credential strings." |
645 | 706 | } |
|
712 | 773 | "value": { |
713 | 774 | "type": "string", |
714 | 775 | "description": "Enter the Agent key value (non empty).", |
715 | | - "pattern": "^.+$" |
| 776 | + "x-secret": true, |
| 777 | + "anyOf": [ |
| 778 | + { "pattern": "^.+$" }, |
| 779 | + { "const": "[secret hidden by Lenses]" } |
| 780 | + ] |
716 | 781 | } |
717 | 782 | }, |
718 | 783 | "required": ["value"] |
|
0 commit comments