kvps-cli 0.2.0

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global kvps-cli --version 0.2.0
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local kvps-cli --version 0.2.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=kvps-cli&version=0.2.0
                    
nuke :add-package kvps-cli --version 0.2.0
                    

kvps-cli

Build & Release

Nuget

A dotnet CLI tool for key value pair management.


Getting Started

Dependenices

You'll need the .Net 8 or .Net 10 runtime installed on your Windows machine.

Unfortunately this tool will not behave correctly under Linux or Mac OS.

Installation

kvps-cli is available from Nuget:

dotnet tool install kvps-cli -g

How to use

Help:

kvps -?

Set a key value

kvps set -?

Set a key's value, with optional tags:

kvps set <KEY> -v <value> -t <TAG1> -t <TAG2>

Set a key's value as secret:

kvps set <KEY> -v <value> -s

Set a key's value as public (default):

kvps set <KEY> -v <value> -p

Get a key value

Get help:

kvps get -?

Return the given key's value:

kvps get <KEY>

Return only the key's value without metadata, with the value masked if it's not public:

kvps get <KEY> -vo

Reveal the key's value:

kvps get <KEY> -r

Return only the key's value without metadata, with the value unmasked:

kvps get <KEY> -vo -r

Copy the value to the clipboard:

kvps get <KEY> -c

Delete a key

kvps del -?

Delete a given key:

kvps del <KEY>

List keys

kvps list -?

Display all keys:

kvps list

Display all keys that match any of the given tags:

kvps  list -t <TAG1> -t <TAG2>

Powershell integration

Single value

Store a key's value:

kvps set my_email_id -v joe@email.com

Later, extract the value:

$email = kvps get my_email_id -vo -r


$email
joe@email.com

Json objects

Store some JSON:

kvps set json_test -v "{ myTenantId: '1234abcd' }" -p

Extract:

$j = kvps get json_test -vo -r | ConvertFrom-Json

$j.myTenantId

Database management

kvps db -?

Export all key values

⚠️ Although the database is encrypted, this will export all data in plain text JSON!

kvps db export <FILENAME>

Import key values

kvps db import <FILENAME>

Switch databases

Show the current database:

kvps db show

Use a different database:

kvps db set my_new_db

Switch back to the original:

kvps db set kvps

Security

⚠️ This tool is not a key vault equivalent!

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
0.2.2 164 3/9/2026
0.2.1 127 2/15/2026
0.2.0 131 2/5/2026
0.1.207 126 2/5/2026
0.1.202 125 2/5/2026
0.1.199 126 1/30/2026
0.1.196 133 1/23/2026
0.1.193 131 1/21/2026
0.1.186 219 12/26/2025
0.1.178 165 11/29/2025
0.1.175 165 11/29/2025
0.1.160 245 9/20/2025
0.1.157 195 9/6/2025
0.1.154 244 9/1/2025
0.1.151 234 9/1/2025
0.1.144 257 6/26/2025
0.1.141 247 5/21/2025
0.1.139-preview 188 5/21/2025
0.1.138 219 5/17/2025
0.1.135 276 3/31/2025
Loading failed