# Make sure these files exists already so they aren't created by docker with the incorrect permissions
mkdir $HOME/.thy/
touch $HOME/.dsv.yml
# Use CLI and have the credentials mounted to home
docker run --rm -it \
-v ${HOME}/.thy/:/home/nonroot/.thy/ \
-v ${HOME}/.dsv.yml:/home/nonroot/.dsv.yml \
delineaxpm/dsv-cli:latest --version version
# Example reading config
docker run --rm -it \
--user 65532 \
-v ${HOME}/.thy/:/home/nonroot/.thy/ \
-v ${HOME}/.dsv.yml:/home/nonroot/.dsv.yml \
delineaxpm/dsv-cli:latest cli-config read
# Wrap in a shell function for easier invoking via your zsh or bash profile.
function dsv() {
docker run --rm -it \
-v ${HOME}/.thy/:/home/nonroot/.thy/ \
-v ${HOME}/.dsv.yml:/home/nonroot/.dsv.yml \
delineaxpm/dsv-cli:latest "$@"
}
aqua-project provides a binary tool manager similar to Brew.
🍺 Homebrew: brew install DelineaXPM/tap/dsv-cli.
Upgrade with: brew update && brew upgrade dsv-cli
Via Go (this will take longer than a binary install since it will build it):
run:
go install github.com/DelineaXPM/dsv-cli@latest
mv $(go env GOPATH)/bin/dsv-cli $(go env GOPATH)/bin/dsv
echo "dsv is installed at: $(go env GOPATH)/bin"
echo "Add to your profile to ensure Go binaries are in path by using:\n\n"
echo "export PATH=\"\$(go env GOPATH)/bin:\${PATH}\"\n\n"
echo "Current DSV Binaries installed: \n$(which -a dsv)"
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.
ℹ️ Linux Only
Via cli: snap install dsv-cli.
At this time add alias to your profile with: `alias dsv='dsv-cli', as the snap name is not aliased.
Note: Snaps update automatically (4 times a day as the default behavior as of 2023-01), but this can be run manually via snap refresh.
ℹ️ Windows
Windows
Scoop:
First time setup: scoop bucket add DelineaXPM https://github.com/DelineaXPM/scoop-bucket.git.
Install: scoop install DelineaXPM/dsv-cli.
Update: scoop update DelineaXPM/dsv-cli.
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
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.