Keeper .NET SDK & PowerCommander
Enterprise Password Management SDK for .NET and PowerShell
Documentation β’ API Reference β’ Support
Table of Contents
- Overview
- Features
- Getting Started
- Components
- Usage Examples
- Documentation
- Platform Support
- Contributing
- License
- Support
Overview
The Keeper .NET SDK and PowerCommander module provide comprehensive vault and administrative level automation for Keeper Password Manager. This SDK enables seamless integration of enterprise-grade password management into your .NET applications and PowerShell workflows.
Features
- Authentication - Secure authentication to Keeper vault
- Vault Access - Complete access to records, folders, and shared folders
- CRUD Operations - Full create, read, update, delete operations for:
- Records and custom fields
- File attachments
- Folders and shared folders
- Team Management - Administrative functions for enterprise users
- Password Rotation - Automated password updates and rotation
- Backend Integration - Customizable integration with your systems
- BreachWatch - Monitor compromised passwords
- Secrets Manager - Enterprise secrets management capabilities
Getting Started
Prerequisites
For .NET SDK
- .NET 8.0 SDK or later
- .NET Standard 2.0 compatible runtime
- Visual Studio 2022 or VS Code (recommended)
For PowerCommander
- PowerShell 5.1 or PowerShell Core 7.0+
- Windows, macOS, or Linux
Installation
.NET SDK via NuGet
dotnet add package KeeperSdk
Or via Package Manager Console:
Install-Package KeeperSdk
PowerCommander via PowerShell Gallery
Install-Module -Name PowerCommander -Scope CurrentUser
Quick Start
.NET SDK Example
using KeeperSecurity.Authentication;
using KeeperSecurity.Vault;
// Connect to Keeper
var auth = new AuthImpl();
await auth.Login("[email protected]");
// Sync vault
var vault = new VaultOnline(auth);
await vault.SyncDown();
// Access records
foreach (var record in vault.KeeperRecords)
{
Console.WriteLine($"Title: {record.Title}");
}
PowerShell Example
# Import module
Import-Module PowerCommander
# Connect to vault
Connect-Keeper -Username "[email protected]"
# Sync and list records
Sync-Keeper
Get-KeeperRecords | Select-Object Title, RecordType
Components
.NET SDK
The core SDK for integrating Keeper into your .NET applications.
Resources:
Target Frameworks:
- .NET 8.0
- .NET Standard 2.0
Commander CLI
Command-line interface for vault management and automation.
# Example commands
keeper login [email protected]
keeper sync-down
keeper list
keeper get-record <uid>
PowerCommander Module
PowerShell module for administrative automation and scripting.
# Core cmdlets
Connect-Keeper
Sync-Keeper
Get-KeeperRecords
Add-KeeperRecord
Update-KeeperRecord
Remove-KeeperRecord
Sample Applications
Working examples to help you get started:
| Sample | Description |
|---|---|
| BasicAuthExample.cs | Simple authentication and vault sync |
| Program.cs | Comprehensive SDK features demo |
| WPFSample | Windows desktop application example |
Usage Examples
Creating a Record
var record = new PasswordRecord
{
Title = "My Application",
Login = "admin",
Password = "secure-password",
Link = "https://myapp.com"
};
await vault.CreateRecord(record);
Rotating a Password
var record = vault.GetRecord("record-uid");
record.Password = GenerateSecurePassword();
await vault.UpdateRecord(record);
Managing Shared Folders
var sharedFolder = vault.GetSharedFolder("folder-uid");
await sharedFolder.AddUser("[email protected]",
SharePermissions.CanEdit | SharePermissions.CanShare);
Documentation
Official Documentation
Component Documentation
Platform Support
| Platform | .NET SDK | PowerCommander | Commander CLI |
|---|---|---|---|
| Windows | β | β | β |
| macOS | β | β | β |
| Linux | β | β | β |
Tested Environments:
- Windows 10/11, Windows Server 2019+
- macOS 11.0+
- Ubuntu 20.04+, RHEL 8+
Contributing
We welcome contributions! Please see our contributing guidelines:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
Support
Community & Help
- Email: [email protected]
- Documentation: docs.keeper.io
- Website: keepersecurity.com
Reporting Issues
If you encounter bugs or have feature requests, please open an issue.
Enterprise Support
For enterprise support and custom integrations, contact our team at [email protected].
About Keeper Security
Keeper Security is the leading cybersecurity platform for preventing password-related data breaches and cyberthreats. Trusted by millions of individuals and thousands of organizations worldwide.
Learn more: keepersecurity.com