Hi,
Is it possible when using Global Account to customise the fields? i.e. add other fields than only Username and Password.
Ideally, I would like to be able to specify an Account Name, API Key and Authorization header in the Account tab, so that when configuring each input, I can choose the Account Name from a drop-down and have it pull the API Key and Authorization Header fields.
I can specify these as "Additional Parameters" for the add-on, but then I have no way of selecting these on a per-input basis when configuring each input.
A bit late response, but I'm sure others would like to know the same.
I managed to make it work with a bit of customization.
In my add-on for using Azure resourcegraph endpoint i wanted the global account to have the following:
How-to:
Hope this helps.
How do I read which account is selected or get the username and password of the selected account?
I am not able to find any document on this.
I am only hardcoding the account name in my code.
# get_auth = helper.get_user_credential_by_id('account0')