Skip to content

Use only vault/api in application code#80

Merged
cezmunsta merged 1 commit into
masterfrom
api-only
Nov 26, 2021
Merged

Use only vault/api in application code#80
cezmunsta merged 1 commit into
masterfrom
api-only

Conversation

@cezmunsta
Copy link
Copy Markdown
Owner

To reduce size as well as simply issues arising from indirect
dependencies, replacing the use of HashiCorp vault/command
with the api in the helper code.

  • Updated vault/helper to use the HashiCorp vault/api when
    looking for a stored token. This requires the presence of
    ~/.vault-token, which is now hard-coded instead of previously
    relying on command.LoginCommand.TokenHelper()

Resolves #78

To reduce size as well as simply issues arising from indirect
dependencies, replacing the use of HashiCorp `vault/command`
with the `api` in the helper code.

* Updated `vault/helper` to use the HashiCorp `vault/api` when
  looking for a stored token. This requires the presence of
  `~/.vault-token`, which is now hard-coded instead of previously
  relying on `command.LoginCommand.TokenHelper()`
@cezmunsta cezmunsta added enhancement New feature or request refactor Code refactor or improvement labels Nov 26, 2021
@cezmunsta cezmunsta self-assigned this Nov 26, 2021
@cezmunsta cezmunsta merged commit b8e0d6e into master Nov 26, 2021
@cezmunsta cezmunsta deleted the api-only branch November 26, 2021 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request refactor Code refactor or improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use only vault/api in application code

1 participant