A collection of examples for doing secrets management in serverless lambda or cloud functions.
Switch branches/tags
Nothing to show
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
encrypted-envvars Don't use the global client Oct 10, 2018
envvars Copyrights and license Sep 29, 2018
gcs Copyrights and license Sep 29, 2018
hashicorp-vault Add Vault batch token examples Dec 11, 2018
images Copyrights and license Sep 29, 2018
.gcloudignore Add node and python examples everywhere Sep 28, 2018
.gitignore Add node and python examples everywhere Sep 28, 2018
LICENSE Copyrights and license Sep 29, 2018
README.md Fix links Sep 29, 2018


Secrets in Serverless

Secrets in serverless

This repository contains a collection of samples and examples for managing secrets in serverless lambda applications and cloud functions. The samples correspond to my Secrets in Serverless blog post.

There are examples in Go, Node, and Python for each of the examples. The examples use Google Cloud Functions, but the concepts are largely applicable to other serverless technologies like AWS Lambda.

Each folder has its own set of examples and README to follow. Please click on a folder for more information.


If you would like to add a new language, please add it to all the examples. I want to provide a consistent experience for each example. Similarly, if you are adding a new example, please write it in all supported languages.

License & Copyright

Copyright 2018 Seth Vargo
Copyright 2018 Google, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at


Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
See the License for the specific language governing permissions and
limitations under the License.