~/talk

Can you keep a secret?

Talkat devopsdays Amsterdam 2020 · on Thursday, 2020-07-09· [security, devops-and-delivery]
links:none on file
slides:none on file

Demo shows a misconfigured Hashicorp Vault setup where a Kubernetes service account uses its JWT to get a Vault client token and an overly broad policy (secret/) lets an attacker read, write and permanently destroy secrets. Reproducible steps include exporting env vars, enabling the Kubernetes auth method, binding a role to a service account and abusing wildcard policy paths. Takeaways: do an inventory, apply principle of least privilege with explicit paths, dynamic credential rotation* shrinks blast radius, and automate pen testing and CI checks to catch secret sprawl.

AI-written summary · about

  1. 0:00Start
  2. 2:43meet those regulator requirements
  3. 3:01prevent those lateral moves within your network
  4. 9:08give the bare minimum of privileges
  5. 11:15write the vault policy
  6. 12:40use the kubernetes jwat token to authenticate
  7. 13:29simulate an attack in about five minutes
  8. 14:14set the vault address
  9. 14:43using a curl request with the cube token
  10. 17:00delete that initial database connection
  11. 17:44destroy your secrets
  12. 18:47attach the correct policies
  13. 19:26know your requirements
  14. 19:48creating the policies
  15. 22:29the credential rotation
~/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.