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

Inheritance: SecretStoreProvider
Show file Open project: NuGet/NuGet.Operations Class Usage Examples

Public Properties

Property Type Description
AppModelTypeName string

Public Methods

Method Description
Create ( string store, IEnumerable allowedUsers ) : Task
DpapiSecretStoreProvider ( string rootFolder ) : System
ListStores ( ) : IEnumerable
Open ( string store ) : Task

Private Methods

Method Description
CreateProtector ( IEnumerable allowedUsers, string purpose ) : DpapiNGDataProtector
CreateProtector ( string purpose ) : DpapiNGDataProtector
GetProtectionDescriptorString ( IEnumerable allowedUsers ) : string
ReadSecretFile ( string filePath, System.Security.Cryptography.DataProtector protector ) : Task
WriteSecretFile ( string filePath, string content, System.Security.Cryptography.DataProtector protector ) : System.Threading.Tasks.Task

Method Details

Create() public method

public Create ( string store, IEnumerable allowedUsers ) : Task
store string
allowedUsers IEnumerable
return Task

DpapiSecretStoreProvider() public method

public DpapiSecretStoreProvider ( string rootFolder ) : System
rootFolder string
return System

ListStores() public method

public ListStores ( ) : IEnumerable
return IEnumerable

Open() public method

public Open ( string store ) : Task
store string
return Task

Property Details

AppModelTypeName public static property

public static string AppModelTypeName
return string