.NET Developer Setup

Instructions for installation of .Net-based Commander CLI from source code

.Net SDK

The Keeper .NET SDK provides comprehensive programmatic access to Keeper Password Manager's vault and administrative features. Built for modern .NET applications, it enables seamless integration of enterprise password management, privileged access management, and secrets management capabilities.

Key Features

  • Secure vault access and synchronization

  • Complete record lifecycle management

  • Enterprise user and team administration

  • Automated password rotation

  • Folder and shared folder management

  • File attachment operations

  • BreachWatch integration

  • Cross-platform support (Windows, macOS, Linux)

Installation

Via NuGet Package Manager

dotnet add package Keeper.Sdk

Via .csproj Reference

SDK Components

Core SDK Library

The main SDK library for programmatic access:

DotNet Commander CLI

Full-featured command-line application for vault management:

PowerCommander Module

PowerShell module for automation and scripting:

Developer Requirements

Target Frameworks

  • .NET 8.0 - Latest .NET version with improved performance

  • .NET Standard 2.0 - Broad compatibility with .NET Framework and .NET Core

Supported Platforms

  • ✅ Windows (10+, Server 2019+)

  • ✅ macOS (11.0+)

  • ✅ Linux (Ubuntu 20.04+, RHEL 8+)

Development Prerequisites

  • .NET 8.0 SDK or later

  • Visual Studio 2022, VS Code, or JetBrains Rider (recommended)

  • A Keeper Security account (sign up here)

Source Integrations

API Documentation

Comprehensive API reference documentation:

Full API Reference: Keeper SDK API Documentation

Key Namespaces

Namespace
Description

Authentication, 2FA, device approval, SSO

Vault operations, records, folders, attachments

Enterprise administration, users, teams, roles

Configuration storage and management

Core Capabilities

Authentication

  • AuthSync - Synchronous authentication flow

  • Master Password - Standard Keeper authentication

  • Two-Factor (2FA) - TOTP, SMS, push notifications

  • Device Approval - Email and admin approval flows

  • SSO Integration - Enterprise single sign-on

  • Biometric - WebAuthn/FIDO2 support

Vault Operations

  • Records - Create, read, update, delete records

  • Typed Records - Support for all Keeper record types and custom record types

  • Attachments - Upload and download file attachments

  • Folders - Organise records in folder hierarchy

  • Shared Folders - Team collaboration and permissions

  • Search - Find records by title, URL, or custom fields

Enterprise Management

  • User Management - Create, modify, delete enterprise users

  • Team Management - Organise users into teams

  • Role-Based Access - Manage roles and permissions

  • Audit Logs - Retrieve and analyse audit trail

  • Device Management - Approve and manage devices

  • Managed Companies - MSP multi-tenant operations

Security Features

  • End-to-End Encryption - Zero-knowledge architecture

  • Device Token Management - Secure persistent sessions

  • BreachWatch - Monitor compromised credentials

  • Password Reports - Generate security compliance reports

Getting Started Resources

Documentation

Support

Get Help

Enterprise Support

For enterprise support, custom integrations, or technical assistance, contact our team at [email protected].

Examples

For help with implementation of SDK features, please see the Sample Application: https://github.com/Keeper-Security/keeper-sdk-dotnet/tree/master/Sample

The .Net Commander CLI Sample App contains several basic operations such as logging in, authentication with two-factor, loading and decrypting the vault and updating passwords. https://github.com/Keeper-Security/keeper-sdk-dotnet/tree/release/Commander

We use InputManager class to deal with console inputs in below examples. The implementation can be found at https://github.com/Keeper-Security/keeper-sdk-dotnet/blob/master/Cli/InputManager.cs

Basic Authentication and Vault Access

Creating a New Record

Change Password

Working with Attachments

Shared Folder Management

Enterprise User Management

Last updated

Was this helpful?