Skip to content

Commit 1875efa

Browse files
committed
adding warnings
1 parent 3bf56ea commit 1875efa

3 files changed

Lines changed: 18 additions & 6 deletions

File tree

parameter-sets/credential/parameter-set.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@
122122
},
123123
{
124124
"name": "use_mtls",
125-
"label": " ",
126-
"description": "Use mTLS",
125+
"label": "Use mTLS",
126+
"description": "",
127127
"type": "BOOLEAN",
128128
"defaultValue": false
129129
},

parameter-sets/secure-basic/parameter-set.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,17 @@
4141
},
4242
{
4343
"name": "use_mtls",
44-
"label": " ",
45-
"description": "Use mTLS",
44+
"label": "Use mTLS",
45+
"description": "",
4646
"type": "BOOLEAN",
4747
"defaultValue": false
4848
},
49+
{
50+
"type": "SEPARATOR",
51+
"label": "Warning",
52+
"description": "Restricting access to this presset will not restrict access to the certificate and key files. This has to be done by setting the appropriate access rights on these two files.",
53+
"visibilityCondition": "model.use_mtls==true"
54+
},
4955
{
5056
"name": "mtls_certificate_path",
5157
"label": "Path to certificate",

parameter-sets/secure-oauth/parameter-set.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,17 @@
5050
},
5151
{
5252
"name": "use_mtls",
53-
"label": " ",
54-
"description": "Use mTLS",
53+
"label": "Use mTLS",
54+
"description": "",
5555
"type": "BOOLEAN",
5656
"defaultValue": false
5757
},
58+
{
59+
"type": "SEPARATOR",
60+
"label": "Warning",
61+
"description": "1 - Restricting access to this presset will not restrict access to the certificate and key files. This has to be done by setting the appropriate access rights on these two files.\n2 - Because the OAuth flow is not controled by the plugin, mTLS cannot be used for the retrieving the access token itself.",
62+
"visibilityCondition": "model.use_mtls==true"
63+
},
5864
{
5965
"name": "mtls_certificate_path",
6066
"label": "Path to certificate",

0 commit comments

Comments
 (0)