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

Helper class to store service principal keys and retrieve them from the Windows Credential Store.
Afficher le fichier Open project: Azure/azure-powershell Class Usage Examples

Méthodes publiques

Méthode Description
DeleteKey ( string appId, string tenantId ) : void
GetKey ( string appId, string tenantId ) : SecureString
SaveKey ( string appId, string tenantId, SecureString serviceKey ) : void

Private Methods

Méthode Description
CreateKey ( string appId, string tenantId ) : string

Method Details

DeleteKey() public static méthode

public static DeleteKey ( string appId, string tenantId ) : void
appId string
tenantId string
Résultat void

GetKey() public static méthode

public static GetKey ( string appId, string tenantId ) : SecureString
appId string
tenantId string
Résultat System.Security.SecureString

SaveKey() public static méthode

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