Golang Microservices: Configuration, Environment Variables and Vault



Golang Microservices: Configuration, Environment Variables and Vault

Golang Microservices: Configuration, Environment Variables and Vault

Let me share with you another tip when building microservices in Go! Secure configuration using Hashicorp’s Vault via environment variables, command line parameters and a bundled file

* Previous episode: “Building Microservices in Go/Golang: Repository Pattern, Services and Dependency Injection”: https://youtu.be/Z89UU4vSayY
* Example code: https://github.com/MarioCarrion/todo-api-microservice-example/tree/b0867ace29e7e50a3586a42094e6d51d375311d6

* Article: Environment Variables: https://mariocarrion.com/2018/01/31/go-environment-variables.html
* Article: Secure Configuration with Environment Variables and AWS SSM: https://mariocarrion.com/2019/11/20/golang-aws-ssm-env-vars-package.html

* Playlist “Building Microservices in Go/Golang”: https://www.youtube.com/playlist?list=PL7yAAGMOat_Fn8sAXIk0WyBfK_sT1pohu
* Playlist “Go/Golang Tools and Packages”: https://www.youtube.com/playlist?list=PL7yAAGMOat_HEEOvH99agDs_5g51A0Ls3

Subscribe: https://www.youtube.com/channel/UCOnbbKHs0XV33fqgvgbCO1Q?sub_confirmation=1

00:00 – Start
00:15 – Agenda
00:29 – Ways to configure services
01:28 – Why environment variables?
03:15 – Packages to use for configuration
05:59 – Demo
14:10 – Parting words

Who am I:

HelloπŸ‘‹πŸΌ! I’m Mario, a Hands-on Software Architect and Lead Backend Engineer with more than 16 years of professional experience building all kinds of software including on-premise Industrial Automation Systems, Linux Accessibility Desktop and Browser Components as well as Distributed Advertising Microservices.

Every week I will share with you different topics I’ve learned while working for small startups and large companies including the processes I’ve followed over the years for successfully delivering complex enterprise systems from start to end.

Subscribe if you like Software Development, Software Architecture and Systems Design!

Keep it up. Don’t give up!

#golang #microservices #vault

— Our affiliate links below

Shop our favorite products β†’ https://www.amazon.com/shop/rubycarrion
Vlogging setup β†’ https://rubycarrion.com/camerasforvlogging/
Get a 30 day FREE trial of Epidemic Sound β†’ https://www.epidemicsound.com/referral/szx441/
Try Amazon Prime 30-Day FREE trial β†’ https://amzn.to/3s0el1R
I love getting Cash Back and think you will too! Join for free and get $20 when you spend $20 β†’ https://www.rakuten.com/r/RUBYRA132?eeid=28187
Sign up to start using vidIQ to grow your YouTube channel for FREE β†’ https://vidiq.com/rubycarrion

— Our Vlog Channel

https://www.youtube.com/c/RubyCarrion/videos

Comments are closed.