Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
arno_geurts
Contributor
Contributor

Automatically (programatically) rotate AWS credentials for Athena data connection

I would like to rotate the access key ID, secret key and session token for my Athena data connection. I have been looking at the Data Connections REST API (https://qlik.dev/apis/rest/data-connections/) and the Data Credentials REST API (https://qlik.dev/apis/rest/data-credentials/), but I cannot figure out how to do it.

When I call the List data-connections API with extended=true, I get the qCredentialsID in the response. However, when I plug that one into the Get Data Credentials API, I get a 404. I'm using Qlik Cloud and M2M OAuth authentication.

Labels (2)
1 Reply
matze123
Partner - Contributor
Partner - Contributor

We are in the same situation with Qlik SaaS here.

It looks like there is an API for managing connection properties [1], but it apparently cannot update credentials. There is a hint to delete and recreate with updated credentials.

Is that the solution?

[1] https://qlik.dev/manage/data-connections/update-data-connections/#change-all-connection-properties-o...