Skip to content

Conversation

@andreasbotsikas
Copy link
Contributor

The credential provider is assigned to User1 and not Login1.
According to docs only the "ADD CREDENTIAL CredentialForEKM" is needed.
https://docs.microsoft.com/en-us/sql/t-sql/statements/alter-login-transact-sql?view=sql-server-ver15#f-mapping-a-login-to-an-extensible-key-management-credential

The following assignment seems to be needed for the previous example where the AlterEgo credentials were defined.
/* Modify the login to assign a non cryptographic provider credential */
ALTER LOGIN Login1
WITH CREDENTIAL = AlterEgo;
GO

The credential provider is assigned to User1 and not Login1.
According to docs only the "ADD CREDENTIAL CredentialForEKM" is needed.
https://docs.microsoft.com/en-us/sql/t-sql/statements/alter-login-transact-sql?view=sql-server-ver15#f-mapping-a-login-to-an-extensible-key-management-credential

The following assignment seems to be needed for the previous example where the AlterEgo credentials were defined.
/* Modify the login to assign a non cryptographic provider credential */
ALTER LOGIN Login1
WITH CREDENTIAL = AlterEgo;
GO
@PRMerger20
Copy link
Contributor

@andreasbotsikas : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@ktoliver ktoliver added the aq-pr-triaged tracking label for the PR review team label Jan 21, 2020
@VanMSFT
Copy link
Member

VanMSFT commented Jan 21, 2020

@andreasbotsikas - Hey Andreas! Thanks, I'll approve this.

#sign-off

@ktoliver ktoliver merged commit 20b8f51 into MicrosoftDocs:live Jan 21, 2020
@andreasbotsikas andreasbotsikas deleted the patch-1 branch January 21, 2020 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants