Registry / auth / hashicorp-vault

hashicorp-vault

JSON →
library1.21.4gogounverified

Vault is a tool for securely accessing secrets, managing tokens, and encrypting data in transit and at rest.

go get github.com/hashicorp/vault
INSTALL
IMPORT
SIG · HASHICORP-VAULT
H
hashicorp-vault
authgov1.21.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

vault
github.com/hashicorp/vault

Reads a secret from Vault's KV v2 secrets engine.

import "github.com/hashicorp/vault/api" func main() { client, _ := api.NewClient(api.DefaultConfig()) secret, _ := client.Logical().Read("secret/data/mysecret") println(secret.Data["data"].(map[string]interface{})["password"]) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.21.4latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
14
OpenAI (training)
1
Resources
hashicorp-vault — go get hashicorp-vault · libregistry