Skip to content

Commit

Permalink
Remove redundant replace in go.mod
Browse files Browse the repository at this point in the history
So that the app can be installed with `go install`.
See golang/go#40276 for details.
  • Loading branch information
mih-kopylov committed Dec 10, 2022
1 parent b068d04 commit 7fd5584
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed

- `go install` that does not work with

## [0.2.0] - 2022-12-10

### Changed
Expand Down
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,26 @@ A simple CLI utility to observe changes in non-sealed Vault secrets, like KV.
[![Go Doc](https://img.shields.io/badge/godoc-reference-blue.svg?style=for-the-badge)](http://godoc.org/github.com/mih-kopylov/vault-diff)
[![Go Report Card](https://goreportcard.com/badge/github.com/mih-kopylov/vault-diff?style=for-the-badge)](https://goreportcard.com/report/github.com/mih-kopylov/vault-diff)

## Install

Run

```shell
go install github.com/mih-kopylov/vault-diff/app/vd@latest
```

Or just download a binary from [the latest](https://github.com/mih-kopylov/vault-diff/releases/latest) release

## Usage

The following command will show difference between 15 and 16 versions of `/my/secret` KV secret.

```shell
vd diff --url http://localhost:8200 --token hvs.replace-token --left /my/secret:15 --right /my/secret:16
```

It can also compare different secrets of any versions.

```shell
vd diff --url http://localhost:8200 --token hvs.replace-token --left /my/secret:15 --right /my/another/secret:33
```
3 changes: 0 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,3 @@ require (
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)

// v1.4.7 breaks compilation
replace github.com/hashicorp/go-plugin v1.4.7 => github.com/hashicorp/go-plugin v1.4.6

0 comments on commit 7fd5584

Please sign in to comment.