how to alter credential – SQLSERVERLEARNER https://sqlserverlearner.com LEARN SQL SERVER ONLINE Tue, 05 Jul 2011 11:34:18 +0000 en-US hourly 1 https://wordpress.org/?v=6.5.2 ALTER CREDENTIAL SYNTAX – SQL SERVER https://sqlserverlearner.com/2011/07/05/alter-credential-syntax-sql-server/ https://sqlserverlearner.com/2011/07/05/alter-credential-syntax-sql-server/#respond Tue, 05 Jul 2011 11:34:18 +0000 https://sqlserverlearner.azurewebsites.net/2011/07/05/alter-credential-syntax-sql-server/ ALTER CREDENTIAL SYNTAX

SYNTAX:
[sql]
ALTER CREDENTIAL credentialname WITH IDENTITY = ‘identityname’
, SECRET = ‘secret’
[/sql]

The IDENTITY and SECRET for a credential can be changed using ALTER CREDENTIAL.

Example of Alter Credential:
[sql]
USE [master]
GO
ALTER CREDENTIAL [credential1] WITH IDENTITY = N’username1′, SECRET = N’password1′
GO
[/sql]

USING SQL SERVER MANAGEMENT STUDIO (SSMS) TO ALTER CREDENTIAL:

  • Open SSMS and connect to the server in object explorer.
  • Expand server and Security
  • In Security Expand

    Alter Credential
    Double Click on the credential name
  • DoubleClick on the Credential name
  • Credential properties dailog will pop up

    Credential Properties
    Credential Properties
  • Now change the credential properties such as IDENTITY, Password and click on Ok
]]>
https://sqlserverlearner.com/2011/07/05/alter-credential-syntax-sql-server/feed/ 0