SQL Interview 22: Working with Credentials in Azure SQL DB

This is a post in the SQL Interview series. These aren’t trick or gotcha questions, they’re just questions designed to scope out a candidate’s knowledge around SQL Server and Azure SQL Database.
Section: Security Level: Medium
Question:
With SQL Server on-premises, you can create a CREDENTIAL and they are stored in the master database.
What option do you have with Azure SQL Database?
Answer:
You can create a DATABASE SCOPED CREDENTIAL in both SQL Server and in Azure SQL Database.
2025-02-21