Hi,
In my company we're currently using the method described here to sign into our various database servers, by getting an access token from Azure AD and using that as the password.
However we have multiple database servers (e.g. production database, staging database, etc). Currently by running az account get-access-token --resource-type oss-rdbms --query accessToken that token will work as a password for all our database servers. This can make it very easy to accidentally connect to the wrong database and run a query meant for our staging environment accidentally in our production database.
I'm wondering, is there any way of retrieving that access token so it will work only for a specific database server? Essentially, it'd be beneficial for us if one has to do something 'special' to access the production environment compared to the others.