.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-dotnetBuild the Commander CLI
# Build Commander project only
dotnet build Commander/Commander.csproj
# Or build entire solution
dotnet build KeeperSdk.slnBuild 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=net472Quick Start Guide
First Time Setup
Launch Commander - You'll see the interactive prompt:
Not Logged In>Login to Keeper:
My Vault> loginEnter your credentials when prompted:
Email address
Master password
Two-factor authentication code (if enabled)
Approve device if required
Sync Your Vault:
My Vault> sync-down # or use the alias My Vault> dList Your Records:
My Vault> list # or My Vault> ls -lGet Record Details:
My Vault> get <record-uid-or-title>
Command Reference
These are all the commands supported by commander cli. (Link).
Authentication Commands
Biometric Commands
Vault Navigation & Search
Record Management
Attachment Management
Folder Management
Shared Folder Commands
Trash Management
Device Management
Enterprise Commands
Record Type Management
Security & Reporting
password-report
Generate comprehensive password security report
Other Commands
help
?
Display help information
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:
After executing this command, user has to register the device with Keeper to use biometric as default login method.
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?

