.Net Commander CLI

Commander CLI written in .Net

Overview

The .Net Commander CLI is a command-line application built on the Keeper .NET SDK. It provides interactive and scriptable access to your Keeper vault, enabling basic record management, folder operations, sharing, enterprise administration, and more.

Building and Running Commander

Clone the Repository

git clone https://github.com/Keeper-Security/keeper-sdk-dotnet.git
cd keeper-sdk-dotnet

Build the Commander CLI

# Build Commander project only
dotnet build Commander/Commander.csproj

# Or build entire solution
dotnet build KeeperSdk.sln

Build Output Locations

  • .NET 8.0: Commander/bin/Debug/net8.0/

  • .NET Framework 4.7.2 (Windows): Commander/bin/Debug/net472/

Running

Run from Project

# when using linux or macos
dotnet run Commander --framework=net8.0

# when using windows
dotnet run Commander --framework=net472

Quick Start Guide

First Time Setup

  1. Launch Commander - You'll see the interactive prompt:

    Not Logged In>
  2. Login to Keeper:

    My Vault> login

    Enter your credentials when prompted:

    • Email address

    • Master password

    • Two-factor authentication code (if enabled)

    • Approve device if required

  3. Sync Your Vault:

    My Vault> sync-down
    # or use the alias
    My Vault> d
  4. List Your Records:

    My Vault> list
    # or
    My Vault> ls -l
  5. Get Record Details:

    My Vault> get <record-uid-or-title>

Command Reference

These are all the commands supported by commander cli. (Link).

All commands below support --help as argument. This can be used to know about the command usage.

Authentication Commands

Command
Alias
Description

Login to your Keeper account

d

Download & decrypt vault data

Logout and clear session

Display current user information

Biometric Commands

Command
Alias
Description

Register a new windows hello key

Verify login using biometrics

List all biometrics linked to keeper account

Remove credential linked to account on current platform

Command
Alias
Description

Search vault (supports regex patterns)

List current folder contents

Change current folder

Display folder structure as tree

Record Management

Command
Alias
Description

Get detailed information about records, folders, teams, etc.

add

Create a new record

edit

Update existing record

Remove record(s)

Move record or folder to different location

Display record version history

rti

Get record type information

Manage record sharing permissions

Attachment Management

Command
Alias
Description

Download file attachment(s) from record

Upload file attachment to record

Delete attachment from record

Folder Management

Command
Alias
Description

Create new folder

Remove folder

update-dir

Update folder properties

Shared Folder Commands

Command
Alias
Description

List all shared folders

Manage shared folder user permissions

Manage shared folder record permissions

Trash Management

Command
Alias
Description

Manage deleted records in trash

Device Management

Command
Alias
Description

Manage other devices

Manage current device settings

Enterprise Commands

Command
Alias
Description

eget

Retrieve enterprise data

en

Manage enterprise organizational nodes

eu

Manage enterprise users

et

Manage enterprise teams

er

Manage enterprise roles

ed

Manage user devices

Transfer user account ownership

Run audit trail reports

Record Type Management

Command
Alias
Description

Add a new custom record type

Update existing record type

Delete custom record type

Bulk load record types from JSON file

Export record types to JSON file

Security & Reporting

Command
Alias
Description

password-report

Generate comprehensive password security report

BreachWatch security monitoring commands

Other Commands

Command
Alias
Description

Keeper Secrets Manager commands

Manage one-time secure shares

Import records from JSON file

c

Clear the screen

help

?

Display help information

q

Exit Commander

Biometric Login Examples

Logging in with Biometric

Connected to "keepersecurity.com".

Username: user_email
Biometric authentication successful.
Authentication completed successfully.

Syncing...
Decrypted 62 record(s)

Register Biometric Credentials

This command creates a new passkey with currently logged in user's email. this passkey will be used for authenticating user when they want to login once we register biometric login on a device.

To use this command, you have to be logged in on CLI.

Note:

  1. After executing this command, user has to register the device with Keeper to use biometric as default login method.

  2. Persistent login takes precedence over biometric login, so if the device has persistent login enabled, biometric credentials are not required during login.

My Vault> biometric register
Registering Windows Hello biometric credential...
Windows Hello credential registered successfully
Provider: Windows Hello

You can now use Windows Hello to log in to Keeper.

Authenticate Biometric Credential

This command will be used to authenticate your session with credential stored. This same functionality will be used when we are trying to login using biometrics.

My Vault> biometric verify
Verifying Windows Hello authentication for '<user_email>' (purpose: vault)...
Windows Hello verification successful.

My Vault> biometric verify --purpose=login
Verifying Windows Hello authentication for '<user_email>' (purpose: login)...
Windows Hello verification successful.

List Biometric Credential

This command shows all the credentials which have been registered to the given account, along with the authenticator type, credential ID, date created and last used date

To use this command, you have to be logged in on CLI

My Vault> biometric list
Listing Windows Hello biometric credentials...


    #  Friendly Name  Provider                Created           Last Used         Status
  ---  -------------  ----------------------  ----------------  ----------------  ------
    1  Windows Hello  Windows Hello           2025-10-10 19:41  2025-10-10 19:42  Active
    2  Windows Hello  Windows Hello           2025-10-29 12:59  2025-10-29 14:14  Active

Remove Biometric Credential

This command will be used to deactivate biometric credential from Keeper, meaning the Keeper platform will stop accepting the given cryptographic credential for logging in the user.

My Vault> biometric remove
Are you sure you want to remove Windows Hello biometric credential for '<user_email>'? (y/N): y
Biometric credential removed for user: '<user_email>'

Last updated

Was this helpful?