~/talk

Creating a Node.js App that Records and Retrieves Secrets from Vault

Talkat HashiTalks 2021 · 2021-02-17..02-18· [nodejs, security]
name:Rod Anami
linkedin:rodanami
slides:none on file

A minimal Node.js app demonstrates authenticating to HashiCorp Vault via AppRole to obtain a token, then writing and reading KV v2 secrets over HTTPS to a Vault 1.6.2 Docker instance; the demo is a 65-line demo app that uses an npm helper library (listed on the repo) and Axios under the hood, requires an unsealed Vault, uses AppRole role_id + secret_id where secret_id is ephemeral, and the helper package sees about 2,600 weekly downloads (peaked ~7,000), and the demo works end-to-end.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 3:16Why use HashiCorp Vault
  3. 7:06Helper library overview
  4. 11:03Demo environment setup
  5. 13:16Live application walkthrough
  6. 21:07Code implementation steps
  7. 26:11Key takeaways and conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.