Hello @Silvano P ,
Welcome to the MS Q&A platform.
You can check the database level credentials using the below query.
select name, credential_identity from sys.database_scoped_credentials
Here, name is the credential_name of the database scoped credentials.
Once you find the credential name, then you can execute the below query by replacing the credentail_name and username
GRANT REFERENCES ON DATABASE SCOPED CREDENTIAL::[credential_name] TO [username];
- Please don't forget to click on
or upvote
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