Vault
hashicorp/vault/standalone
Single-node HashiCorp Vault in dev mode
Deploys a single-node HashiCorp Vault server in dev mode (pre-unsealed, in-memory backend) with host access on port 30820.
Install gck#
go install github.com/gravitee-io-labs/gck@latest
For other installation methods, see Installation .
Usage#
Create#
gck create --from hashicorp/vault/standalone
Cleanup#
gck delete
Quick Start#
Configure the Vault CLI and check the server status:
export VAULT_ADDR=http://localhost:30820
export VAULT_TOKEN=root
vault status
Write and read a test secret:
vault kv put secret/hello foo=bar
vault kv get secret/hello
The Vault UI is available at http://localhost:30820
(token: root).
For a guided introduction, see the Vault Getting Started tutorials .
| Parameter | Value |
|---|---|
| Root token | root |
| Mode | dev (in-memory) |
Endpoints
Services this context exposes on your machine after gck create, including the ones it inherits from the contexts it composes. Rows marked with a flag only exist when you pass it.
| Service | URL | Notes | From |
|---|---|---|---|
| Vault | http://localhost:30820 | dev mode | hashicorp/vault/standalone |
Variables
Template variables overridable with --set. Use --set path.segments.var=value to target a specific context in the composition chain.
| Variable | Default | Origin | Description |
|---|---|---|---|
clusterName | vault-standalone | hashicorp/vault/standalone | Name of the Kind cluster |
imageRepository | hashicorp/vault | hashicorp/vault/standalone | Vault Docker image repository |
imageTag | 1.21.2 | hashicorp/vault/standalone | Vault Docker image tag |