Skip to content

A simple zsh plugin to help make using the keyvault feature of the azure cli a little less verbose

License

Notifications You must be signed in to change notification settings

milespossing/Azure-Keyvault-Zsh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Azure Keyvault Plugin

A simple plugin to make using azure keyvault from the azure cli a little less verbose

Setup

Clone this repo into your omz custom directory

git clone https://github.com/milespossing/Azure-Keyvault-Zsh.git $ZSH_CUSTOM/plugins/az-keyvault

Export a variable AZ_KEYVAULT_NAME which should be the name of the keyvault you are accessing.

This plugin requires fzf and jq to be installed.

Usage

Secrets can be listed with the list-secrets command.

Secrets can be fetched by passing an array of secret names (optained by list-secrets) into get-secrets:

get-secrets sec1 sec2 sec3

Multiple secrets can be selected by using fzf-secrets

About

A simple zsh plugin to help make using the keyvault feature of the azure cli a little less verbose

Topics

Resources

License

Stars

Watchers

Forks

Languages