hashicorp/vault-guides

learn vault: getting-started/first-secret update

todd-dsm opened this issue · 1 comments

Didn't know where else to put this... on the page:
https://learn.hashicorp.com/vault/getting-started/first-secret

The line:
vault kv get -format=json secret/hello | jq -r .data.data.excited (should be changed to)
vault kv get -format=json secret/hello | jq -r .data.excited

$ vault kv get -format=json secret/hello 
{
  "request_id": "3ed63fdd-4554-195d-cf93-ead1714418ab",
  "lease_id": "",
  "lease_duration": 2764800,
  "renewable": false,
  "data": {
    "excited": "yes",
    "foo": "world"
  },
  "warnings": null
}

$ vault kv get -format=json secret/hello | jq -r .data.excited
yes

@todd-dsm Thank you for catching this. It's fixed.

Doc issues with learn can be reported via vault repo. Thx!