TeamPasswordManagerClient 2.0.1
dotnet add package TeamPasswordManagerClient --version 2.0.1
NuGet\Install-Package TeamPasswordManagerClient -Version 2.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TeamPasswordManagerClient" Version="2.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TeamPasswordManagerClient --version 2.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: TeamPasswordManagerClient, 2.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install TeamPasswordManagerClient as a Cake Addin #addin nuget:?package=TeamPasswordManagerClient&version=2.0.1 // Install TeamPasswordManagerClient as a Cake Tool #tool nuget:?package=TeamPasswordManagerClient&version=2.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
TeamPasswordManager
C# Client Library for TeamPasswordManager API v4, v5 or V6: http://teampasswordmanager.com/docs/api/
Basic usage is as follows:
var config = new TpmConfig
{
BaseUrl = "https://tpm-dev.15below.local/index.php/api/V5",
PublicKey = "5650a2df5b56e81926e06b33ad52c9c541c2aa30e474aa7574654ceb9123056e",
PrivateKey = "f271d7c2197805dd73ffa1e11c0c25973177ae7b2244984f808dca6c610abe8e"
};
var client = new TpmClient(config);
// Get all root projects
var projects = client.Projects.ListAllProjects();
// Select the test project
var testProject = projects.First(where => where.Name == "Test Project");
// Get passwords entries in the test project
var passwordEntries = client.Passwords.ListAllPasswords(testProject.Id);
// Retrieve the password for the test password entry
var password = client.Passwords.GetPassword(passwordEntries.First(where => where.Name == "Test Password").Id);
Console.WriteLine(password.Password);
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net471 is compatible. net472 was computed. net48 was computed. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.7.1
- Newtonsoft.Json (>= 13.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.