Hi Experts
We used to update Azure Open API Key in the KOTSADM console section of KNIME Business hub and this key update every 30 to 60 days based on the key expiry.

Can you let me know if we have any workflow or way to update the key automatically before getting expired without logging into KOTSADM console and deploy?
Hi! Thank you for reaching out. Currently, there are a couple of potential ways to modify the key, such as using a kubectl command or a workflow. However, it’s important to note that the configuration may revert to its previous state upon redeployment.
We’re aware of this limitation, and while there isn’t an immediate solution, future enhancements may provide more flexibility in handling these changes. We appreciate your feedback, and this could be considered as a potential feature request.
Best regards,
Bence
1 Like
Thank you Bence for your reply. Can you let me know the steps how we can update using kubectl command?. Using this method, we dont want to perform redeployment?
We need to update new API key every month without doing redeployment or impact other functionalities.
At this time, we do not recommend manually updating the secret via kubectl
in a production environment, as it may lead to inconsistencies—especially if a redeployment resets the secret to its previous state. While we understand that you might want to consider this as a workaround, we want to ensure that other users are aware of the potential risks before trying to adopt this approach.
That said, we acknowledge the need for a more flexible solution. The option to change this is currently being evaluated as a feature request, where future releases could allow customers to choose whether KOTS handles these changes or if they can be managed manually.
If this workaround is absolutely necessary for your use case, we recommend opening a support ticket so we can assess the best approach for your specific requirements.