~/talk

Using OIDC With HashiCorp Vault and GitHub Actions

Talkat HashiConf Global 2022 · 2022-10-04..10-06· [security, devops-and-delivery]
slides:none on file

Demonstrates replacing static creds with Vault-issued short-lived tokens: configures HCP Vault OIDC auth method, creates a role bound to repo:ref (repo:Ned1313/vault-oidc:ref:heads:main), a policy granting read to KV path tacos/data/sauce_recipe, then a GitHub Actions workflow that requests an ID token and uses hashicorp/vault-action (v2.4.0) to log in. Token TTL is 100s, troubleshooting step prints the JWT and Vault response, the run succeeds and the secret is retrieved (output masked).

AI-written summary · about

  1. 0:00The problem with static secrets
  2. 2:34Why dynamic secrets are better
  3. 4:24Understanding secret zero
  4. 5:30Authentication options
  5. 10:25Introduction to OIDC and JWT
  6. 14:56JWT claim fields
  7. 17:22Vault configuration demo
  8. 26:21GitHub secrets setup
  9. 28:04GitHub actions workflow
  10. 33:40Running the demo
~/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.