Discover Packages
github.com/DelineaXPM/dsv-cli
command
module
Version:
v1.39.8
Opens a new window with list of versions in this module.
Published: Dec 16, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
Delinea DevOps Secrets Vault CLI
An automation tool for the management of credentials for applications, databases, CI/CD tools, and services.
Getting Started
Quick Start Install
ℹ️ Any Platform
🔨 Download from prebuilt-binaries manually.
Aquaproject : aqua generate 'DelineaXPM/dsv-cli' -i
and update your aqua.yml
file.
PowerShell Cross-Platform (pwsh) with console selector (move to directory in $ENV:PATH
for it to be universally discoverable):
if (-not (Get-InstalledModule Microsoft.PowerShell.ConsoleGuiTools -ErrorAction SilentlyContinue))
{
Install-Module Microsoft.PowerShell.ConsoleGuiTools -Force -Confirm:$false -Scope CurrentUser
}
$json=(Invoke-WebRequest -ContentType 'application/json' -Uri 'https://s3.amazonaws.com/dsv.secretsvaultcloud.com/cli-version.json' -UseBasicParsing).Content | ConvertFrom-Json
$download=$json.Links | get-member -Type NoteProperty | ForEach-Object {
[pscustomobject]@{
FileName = $_.Name
DownloadLink = $json.Links.$($_.Name)
OutFileName = ($json.Links.$($_.Name) -split '/')[-1]
}} | Out-ConsoleGridView -Title 'Delinea DevOps Secrets Vault CLI'
$download | ForEach-Object { Invoke-WebRequest -Uri $_.DownloadLink -OutFile $_.OutFileName -UseBasicParsing }
ℹ️ Mac & Linux
Mac & Linux
aqua-project provides a binary tool manager similar to Brew.
🍺 Brew : brew install DelineaXPM/tap/dsv-cli
.
Upgrade with: brew update && brew upgrade dsv-cli
Curl (requires Go installed):
version=$(curl -sb -H "Accept: application/json" https://s3.amazonaws.com/dsv.secretsvaultcloud.com/cli-version.json | $(go env GOPATH)/bin/yq '.latest')
echo "version: $version"
curl -fSsl https://dsv.secretsvaultcloud.com/downloads/cli/$version/dsv-darwin-x64 -o dsv && chmod +x ./dsv && sudo mv ./dsv /usr/local/bin
Curl (no Go required). Requires specifying the version:
curl -fSsl https://dsv.secretsvaultcloud.com/downloads/cli/1.39.5/dsv-darwin-x64 -o dsv && chmod +x ./dsv && sudo mv ./dsv /usr/local/bin
note : It is not required to install to /usr/local/bin
. If you choose to install to another location you'll want to make sure it's added to your PATH for the tool to be found.
ℹ️ Windows
Windows
👉 PENDING: Possible choco/scoop installations depending on demand.
Using curl in Windows PowerShell (for cross-platform pwsh see top section) and move to whatever directory you want:
$json=(Invoke-WebRequest -ContentType 'application/json' -Uri 'https://s3.amazonaws.com/dsv.secretsvaultcloud.com/cli-version.json' -UseBasicParsing).Content | ConvertFrom-Json
# Change this to windows/386 if required to install x86.
Invoke-WebRequest -Uri $json.links.'windows/amd64' -OutFile 'dsv.exe' -UseBasicParsing
License
See LICENSE for the full license text.
Contributors
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
this refers to remote config
this refers to remote config
internal
This contains customized goreleaser tasks that take into account the GOOS and combine this with my standard approach of using changelog to drive the new semver release.
This contains customized goreleaser tasks that take into account the GOOS and combine this with my standard approach of using changelog to drive the new semver release.
vault
Package vault provides a simple interface to the Vault API, allowing the secrets retrieval for running integration tests.
Package vault provides a simple interface to the Vault API, allowing the secrets retrieval for running integration tests.
could do conditional linux build, but no actual hard linux dependencies
could do conditional linux build, but no actual hard linux dependencies
A `pass` based credential helper.
tests
fake
Code generated by counterfeiter.
Code generated by counterfeiter.
Controlled via the Makefile and git tag reference for Version
Controlled via the Makefile and git tag reference for Version
Click to show internal directories.
Click to hide internal directories.