C# Class Microsoft.Azure.Commands.Common.Authentication.ServicePrincipalKeyStore

Helper class to store service principal keys and retrieve them from the Windows Credential Store.
ファイルを表示 Open project: Azure/azure-powershell Class Usage Examples

Public Methods

Method Description
DeleteKey ( string appId, string tenantId ) : void
GetKey ( string appId, string tenantId ) : SecureString
SaveKey ( string appId, string tenantId, SecureString serviceKey ) : void

Private Methods

Method Description
CreateKey ( string appId, string tenantId ) : string

Method Details

DeleteKey() public static method

public static DeleteKey ( string appId, string tenantId ) : void
appId string
tenantId string
return void

GetKey() public static method

public static GetKey ( string appId, string tenantId ) : SecureString
appId string
tenantId string
return System.Security.SecureString

SaveKey() public static method

public static SaveKey ( string appId, string tenantId, SecureString serviceKey ) : void
appId string
tenantId string
serviceKey System.Security.SecureString
return void