Skip to content

andrzejmartyna/kvs-cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

kvs-cache is a command line tool for browsing Azure Key Vault secrets as quickly and as easily as possible.
Information about secrets, once cached locally, can be instantly browsed.
Pressing Enter on a given secret calls Azure to get the secret value and copy it to the clipboard.
Note that:

  • secret values are not cached locally nor displayed on the screen
  • you can get the clipboard contents and paste it wherever you need

kvs-cache is written using .NET 8 and C# 11.

Usage

  1. Clone the repo
  2. Execute a command line / shell window
  3. Check if you have .NET 8: dotnet --version, if not, install .NET 8 SDK first
  4. Go to the repo folder in the command line / shell window
  5. Login to Azure az login
  6. Go down one more folder cd kvs-cache
  7. Restore packages using dotnet restore
  8. Run kvs-cache using dotnet run

General functionalities

  1. Works as a console application
  2. Information browsing / searching
    • At start it finds all Azure subscriptions you can access
    • Allows to browse and drill down/up through subscriptions, key vaults, and secrets
    • Allows for instant filtering by entering word or words to be searched for
  3. Caching
    • Caches places you visit for immediate access next time
    • Displays age of cache
    • Allows to refresh current level (Ctrl-R)
  4. Get secret values
    • Get value of a selected secret and copy it to clipboard

More information

About

a command line tool for browsing Azure Key Vault secrets as quickly and as easily as possible

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages