I created a simple sidebar app that gets data through a REST API and shows it within the ticket.
To access the REST API I need a customer id and a password/key which I put into the configuration.
My iparams.json looks as follows:
{
"client_id": {
"display_name": "Client ID",
"description": "Please enter your Client ID",
"type": "text",
"required": true,
"secure": true
},
"client_secret": {
"display_name": "Client Secret",
"description": "Please enter your Client Secret",
"type": "text",
"required": true,
"secure": true
}
}
and my configuration page therefore shows both values in plain text.
Now, since the Client secret is some kind of a password, which other people (including other admins) shouldn’t see, I like to have a password field like the following picture:
Unfortunately I didn’t yet find the right documentation about what type or what parameter I have to set for this.
Any help is appreciated.