C# Class NuGet.Services.Operations.Secrets.DpapiSecretStore

Inheritance: SecretStore
Mostrar archivo Open project: NuGet/NuGet.Operations

Public Methods

Method Description
Delete ( SecretName name, string clientOperation ) : Task
DpapiSecretStore ( string storeDirectory, SecretStoreMetadata metadata ) : System
Exists ( ) : bool
List ( bool includeDeleted ) : IEnumerable
Read ( SecretName name, string clientOperation ) : Task
ReadAuditLog ( SecretName name ) : Task>
Undelete ( SecretName name, string clientOperation ) : Task
Write ( Secret secret, string clientOperation ) : System.Threading.Tasks.Task

Private Methods

Method Description
CreateProtector ( SecretName name ) : System.Security.Cryptography.DataProtector
GetFileName ( SecretName name ) : string
UnauditedReadSecret ( SecretName name, string fileName ) : Task
UnauditedWriteSecret ( Secret secret ) : System.Threading.Tasks.Task

Method Details

Delete() public method

public Delete ( SecretName name, string clientOperation ) : Task
name SecretName
clientOperation string
return Task

DpapiSecretStore() public method

public DpapiSecretStore ( string storeDirectory, SecretStoreMetadata metadata ) : System
storeDirectory string
metadata SecretStoreMetadata
return System

Exists() public method

public Exists ( ) : bool
return bool

List() public method

public List ( bool includeDeleted ) : IEnumerable
includeDeleted bool
return IEnumerable

Read() public method

public Read ( SecretName name, string clientOperation ) : Task
name SecretName
clientOperation string
return Task

ReadAuditLog() public method

public ReadAuditLog ( SecretName name ) : Task>
name SecretName
return Task>

Undelete() public method

public Undelete ( SecretName name, string clientOperation ) : Task
name SecretName
clientOperation string
return Task

Write() public method

public Write ( Secret secret, string clientOperation ) : System.Threading.Tasks.Task
secret Secret
clientOperation string
return System.Threading.Tasks.Task