Forum Discussion
Write secret to Key Vault from Fabric Notebook
- 2 years ago
Hi Anonymous
Thank you for your reply. Yes, I got a confirmation from a Cloud Solution Architect @ Microsoft that the putSecret method is not working now, but is under developement at the moment.
I guess we just have to wait it out.
There are plenty of ideas regarding the Key Vault integration already, so I just voted for them and avoided creating more noise 🙂
Meanwhile my solution was to store the tokens in a table instead. In case of OAuth2 authentication, the access token is only valid for 1 hour (in my case) and the refresh token itself do not have any significance without the client-id and client-secret combination, and I could easily and safely get it using the getSecret method.
The token is read from the table, and when a token refresh is necessary, I read the client-id and secret from the Key Vault and send these two with my refresh token as a request.
When the putSecret method is implemented, I will change this solution, so that even the tokens are saved in the Key Vault, for an extra layer of protection.Thank you for your time and response Xiaoxin.
HI x_mark_x,
If both putSecret and set_secret all failed to processed on fabri side, it may mean these type of opeaiton current not support.
For this scenario, you can try to submit an idea for add support with these type of operations.(BTW, I also check the current release plan list but not found similar requirements)
Regards,
Xiaoxin Sheng
Hi Anonymous
Thank you for your reply. Yes, I got a confirmation from a Cloud Solution Architect @ Microsoft that the putSecret method is not working now, but is under developement at the moment.
I guess we just have to wait it out.
There are plenty of ideas regarding the Key Vault integration already, so I just voted for them and avoided creating more noise 🙂
Meanwhile my solution was to store the tokens in a table instead. In case of OAuth2 authentication, the access token is only valid for 1 hour (in my case) and the refresh token itself do not have any significance without the client-id and client-secret combination, and I could easily and safely get it using the getSecret method.
The token is read from the table, and when a token refresh is necessary, I read the client-id and secret from the Key Vault and send these two with my refresh token as a request.
When the putSecret method is implemented, I will change this solution, so that even the tokens are saved in the Key Vault, for an extra layer of protection.
Thank you for your time and response Xiaoxin.
- yfarinas2 years agoNew Member
Hey there, I'm facing the same issue with the putSecret method. Is there any way we can get visibility into the development timeline for this feature on Microsoft's side?
- Anonymous2 years agoNot applicable
HI x_mark_x,
Thanks for sharing response information from MS support and the workaround about your requirement here, I think they will help other users who faced similar scenarios.
Regards,
Xiaoxin Sheng