Slides of the talk I gave at DevoxxPL 2017.
Links: * Vault: https://vaultproject.io * Code: https://github.com/spring-cloud/spring-cloud-vault * Samples: https://github.com/mp911de/spring-cloud-vault-config-samples
Unless otherwise indicated, these slides are © 2013-2017 Pivotal Software, Inc. and licensed under aCreative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/Managing Secrets at ScaleMark Paluch • Pivotal • @mp911de
View Slide
Unless otherwise indicated, these slides are © 2013-2017 Pivotal Software, Inc. and licensed under aCreative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/TomEE3UserName testPassword xMH5uM1V9vQzVUv5LG7YLA==PasswordCipher Static3DES
https://www.flickr.com/photos/dahlstroms/4188244058
https://www.flickr.com/photos/nateone/5456129071
Unless otherwise indicated, these slides are © 2013-2017 Pivotal Software, Inc. and licensed under aCreative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/Vault Project! Secure storages! Sealing/Unsealing! Multiple authentication mechanisms! Multiple secret backends! ACL/policies! HA! HTTP API9
Unless otherwise indicated, these slides are © 2013-2017 Pivotal Software, Inc. and licensed under aCreative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/Vault Project: Editions10Community Enterprise
Unless otherwise indicated, these slides are © 2013-2017 Pivotal Software, Inc. and licensed under aCreative Commons Attribution-NonCommerciallicense: http://creativecommons.org/licenses/by-nc/3.0/Start andinitialize VaultDemo
HTTP APIcurl -HX-Vault-Token:… \https://localhost:8200/v1/secret/devoxx-plGET /v1/secret/my-spring-boot-app HTTP/1.0X-Vault-Token: …
Unless otherwise indicated, these slides are © 2013-2017 Pivotal Software, Inc. and licensed under aCreative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/Secret Backends13
https://www.flickr.com/photos/kristencavanaugh/10710047746
Unless otherwise indicated, these slides are © 2013-2017 Pivotal Software, Inc. and licensed under aCreative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/Authentication methods! Token! Username/password! LDAP! GitHub Token ! MFA (Duo)! TLS Certificates! App ID! AppRole! AWS EC215
Unless otherwise indicated, these slides are © 2013-2017 Pivotal Software, Inc. and licensed under aCreative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/X1Operatorconfigures AppRole2Store RoleIdin App configuration3Obtain SecretId4App start: Vault loginwith RoleId andSecretIdAppRole
Unless otherwise indicated, these slides are © 2013-2017 Pivotal Software, Inc. and licensed under aCreative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/161Retrieve PKCS#7identity document2Vault Login(PKCS#7 + nonce)3Vault: EC2 Instancecheck (EC2 API)AWS-EC2
Unless otherwise indicated, these slides are © 2013-2017 Pivotal Software, Inc. and licensed under aCreative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/171Create ephemeraland permanenttokens2Store ephemeraltoken in Appconfiguration3App Start: Retrievepermanent tokenfrom CubbyholeCubbyhole
Unless otherwise indicated, these slides are © 2013-2017 Pivotal Software, Inc. and licensed under aCreative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/Operation hints! Use SSL! Keep unseal keys secret! Operate in High-Availability setup18
Unless otherwise indicated, these slides are © 2013-2017 Pivotal Software, Inc. and licensed under aCreative Commons Attribution-NonCommerciallicense: http://creativecommons.org/licenses/by-nc/3.0/Spring VaultSpring Cloud VaultDemo
Unless otherwise indicated, these slides are © 2013-2017 Pivotal Software, Inc. and licensed under aCreative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/Resources! Vault: vaultproject.io! Code: github.com/spring-cloud/spring-cloud-vault! Samples: github.com/mp911de/spring-cloud-vault-config-samples! Slides: mp911.de/msas-devoxxpl20@mp911de
Learn More. Stay Connected.Twitter: @mp911deGithub: github.com/mp911deWebsite: paluch.biz