You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As Azure support "one time" token as mysql password, there is need to replace password after expire. Would be nice if library will know that itself. For now I do not know if I can simply replace password or I have to destroy instance and create new one with new password / token
I have tested connection is NOT dropped after token expiration, so this change applies only in case of reconnect, where is possibility to need already new password in connection string.
Thanks, so basically, not supported yet. Thanks. I did for now new instance for every new token. If that PR will be merged, I will rewrite that mess-code to new interface.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
As Azure support "one time" token as mysql password, there is need to replace password after expire. Would be nice if library will know that itself. For now I do not know if I can simply replace password or I have to destroy instance and create new one with new password / token
I have tested connection is NOT dropped after token expiration, so this change applies only in case of reconnect, where is possibility to need already new password in connection string.
Ref: https://learn.microsoft.com/en-us/azure/mysql/single-server/how-to-configure-sign-in-azure-ad-authentication
Beta Was this translation helpful? Give feedback.
All reactions