Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
hi,
i saw that i need to generate api key every couple months and if i dont generate the Qlik data transfer wont load my
Data from the DB and make the qvd.
there is an action that will automate generate new api key or other solution?
Hello @Ran,
An API key could expire much later as per you needs, I have not see any way to automatically generate it, although I have not yet check Qlik CLI, it might be worth to do so.
Cheers,
Albert
Hi @Ran ,
as @Albert_Candelario said, you can use the qlik-cli to write scripts that generate new keys at regular times, before the old one expires. Please check https://qlik.dev/toolkits/qlik-cli/api-key/api-key-create . The new key will need to be created before the old one expires.
Here's an example:
The new key is listed in the "token" section.
If you prefer not to use the qlik-cli you can actually use API keys to generate new API-keys 🙂: we have a QlikFix video that shows how to do that. You can also run the calls via Qlik Application Automation on a regular schedule.
Of course, once an old key expires, you will need to modify existing connections to use the new key.
Please note: there is a limit of 5 active keys per user. Expired keys do not count for this limit. If needed you might need to delete unused active keys.
Also please not that the maximum expiration time for a key is one year.
Hello @Ran,
An API key could expire much later as per you needs, I have not see any way to automatically generate it, although I have not yet check Qlik CLI, it might be worth to do so.
Cheers,
Albert
Hi @Ran ,
as @Albert_Candelario said, you can use the qlik-cli to write scripts that generate new keys at regular times, before the old one expires. Please check https://qlik.dev/toolkits/qlik-cli/api-key/api-key-create . The new key will need to be created before the old one expires.
Here's an example:
The new key is listed in the "token" section.
If you prefer not to use the qlik-cli you can actually use API keys to generate new API-keys 🙂: we have a QlikFix video that shows how to do that. You can also run the calls via Qlik Application Automation on a regular schedule.
Of course, once an old key expires, you will need to modify existing connections to use the new key.
Please note: there is a limit of 5 active keys per user. Expired keys do not count for this limit. If needed you might need to delete unused active keys.
Also please not that the maximum expiration time for a key is one year.