PowerShell client bindings for HashiCorp Vault
The aim of this project is to provide a PowerShell module that provides cmdlets to interact with a HashiCorp Vault server in a natural way for PowerShell -- the PowerShell wayTM.
The initial set of cmdlets is derived from the operations that are available from the official Vault CLI client. We define a mapping of CLI functions to PowerShell cmdlets here.
The initial release of this project includes support for most commands found int the Vault CLI.
The cmdlets have been tested manually and verified to work properly against a Vault v7.x server. Automated testing will be added in a forthcoming release.
Any feedback is welcome!
The easiest way to get started is to install the latest published release from the PowerShell Gallery.
Install-Module -Name Zyborg.Vault -Repository PSGallery
The -Repository
parameter is only needed if you have multiple repos registered and you want to disambiguate where to try to install from.
You can also get early access to pre-release builds.
Import-Module PowerShellGet
Register-PSRepository -Name "zyborg-stage" -SourceLocation "https://www.myget.org/F/zyborg-stage/api/v3/index.json"
Install-Module -Name "Zyborg.Vault" -Repository "zyborg-stage"
For more information, including examples and API Documentation, please visit the home page.