C# Class AdmPwd.PDS.AzureKeyStore.AzureKeyVaultStore

Inheritance: IKeyStore
Afficher le fichier Open project: jformacek/laps-e Class Usage Examples

Protected Properties

Свойство Type Description
_aadInstance string
_apiVersion string
_appKey string
_area string
_clientId string
_vaultUri System.Uri
resource string

Méthodes publiques

Méthode Description
AzureKeyVaultStore ( ) : System
Decrypt ( uint keyID, string EncryptedPwd ) : string
GenerateKeyPair ( int KeySize ) : uint
GetPublicKey ( uint KeyID ) : string

Méthodes protégées

Méthode Description
Authenticate ( ) : Task
LoadKeys ( ) : System.Threading.Tasks.Task
SaveSecret ( SecretUpdate secret, string secretName ) : System.Threading.Tasks.Task

Method Details

Authenticate() protected méthode

protected Authenticate ( ) : Task
Résultat Task

AzureKeyVaultStore() public méthode

public AzureKeyVaultStore ( ) : System
Résultat System

Decrypt() public méthode

public Decrypt ( uint keyID, string EncryptedPwd ) : string
keyID uint
EncryptedPwd string
Résultat string

GenerateKeyPair() public méthode

public GenerateKeyPair ( int KeySize ) : uint
KeySize int
Résultat uint

GetPublicKey() public méthode

public GetPublicKey ( uint KeyID ) : string
KeyID uint
Résultat string

LoadKeys() protected méthode

protected LoadKeys ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

SaveSecret() protected méthode

protected SaveSecret ( SecretUpdate secret, string secretName ) : System.Threading.Tasks.Task
secret SecretUpdate
secretName string
Résultat System.Threading.Tasks.Task

Property Details

_aadInstance protected_oe property

identifier of aad instance, such as https://login.windows.net/formacek.com
protected string _aadInstance
Résultat string

_apiVersion protected_oe property

AAD Api version to use
protected string _apiVersion
Résultat string

_appKey protected_oe property

application authorization key, as generated when creating application definition in AAD
protected string _appKey
Résultat string

_area protected_oe property

This specifies subset of keys KeyStore operates with KeyVault may contain multiple sets of keys, differentiated by "Area" tag if area is not specified, all keys in KeyVault are processed by an instance of KeyStore
protected string _area
Résultat string

_clientId protected_oe property

application ID, as created by AAD admin, such as "9873ac72-d7ed-4443-bd44-123b9247d6ed"
protected string _clientId
Résultat string

_vaultUri protected_oe property

vault uri, such as https://laps.vault.azure.net/ Notes: Rememebr to include trailing slash
protected Uri,System _vaultUri
Résultat System.Uri

resource protected_oe property

resource that receives REST API calls
protected string resource
Résultat string