create script of existing database scoped credential

Ömer Faruk Özsakarya 81 Reputation points
2022-07-03T14:52:45.61+00:00

Hi,

We are using Azure Dedicated SQL Pool. Some external tables were defined 2 or 3 years ago. These external tables point some zipped files in blob storage.
In order to create the external tables, some credentials were created.

How can I find the create script of these database scoped credentials?
I want to find out:

  • whether storage access key or shared access signature is used
  • if shared access signature is used, I would like to see the expiration date

Thanks

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
5,125 questions
0 comments No comments
{count} votes

Accepted answer
  1. PRADEEPCHEEKATLA 90,496 Reputation points
    2022-07-06T06:05:35.757+00:00

    Hello @Ömer Faruk Özsakarya ,

    Thanks for the question and using MS Q&A platform.

    To import a file from Azure Blob storage using a shared key, the identity name must be SHARED ACCESS SIGNATURE. To load data into Azure Synapse Analytics, any valid value can be used for identity.

    You may checkout the similar thread - CREATE DATABASE SCOPED CREDENTIAL in Azure Synapse studio for SQL Serverless pool.

    For more details, you may refer to Create and use native external tables using SQL pools in Azure Synapse Analytics and CREATE DATABASE SCOPED CREDENTIAL (Transact-SQL).

    Hope this will help. Please let us know if any further queries.

    ------------------------------

    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.