google-app-engine


Storing secrets in GAE Flex environment, making it easy to work with in local/dev env


This is for GAE Flex Env, application written in Go.
Two parts to the question:
Where is it idiomatic to store application secrets such as passwords/keys to connect to other services? In Heroku for example they are env vars. But in GAE Flex you can't put them in app.yaml because that file has other config settings in it and it normally gets stored in git.
Some ideas: Metadata service, Datastore, GCS bucket ... but see next question.
How do you deal with local application testing? To use Heroku as an example again, you can create a local .env file. Getting the setting at runtime is consistent, you just read env vars. How do you make this easy to use with GAE Flex? Any Go utilities/libraries out there that abstract local env vs. GAE Flex "production" env? Of course, there are usually (at least) 3 envs: local/dev, staging, production.

Related Links

How do I track Google account logins on python GAE?
Delete and Rename events in google drive
App Engine - How to Clear Cookie
How do I get the path to the Cloud SDK directory using the gcloud command?
Cannot reach Endpoint method with cURL
Find the total instance hours in my Google Apps Engine
Cron Jobs on Google App Engine
Golang GAE, aestest.NewContect not working on local machine. Could not find python interpreter
Downloading my existing project in google cloud using Gcloud SDK
Google app engine css not found/deployed
CI for ASP.Net using Jenkins on Google Cloud
Can the GAE Servlet code be accessest by anyone
Is there a way of checking if a Web Application or Website using the Google App Engine?
google endpoints on flex app engine
Deploy to Google App Engine via a GitHub Repo
Using App Engine Datastore over MySQL for a CRM System

Categories

HOME
design-patterns
fpga
google-spreadsheet
formal-languages
mstest
access
permissions
retrofit2
vert.x
special-characters
plist
windows-ce
ycsb
favicon
jmp
nim
systemtime
outliers
8051
exchangewebservices
uitapgesturerecognizer
gitlab-api
powershell-ise
sql-server-2000
r-grid
twos-complement
hunspell
carriage-return
html-encode
pdw-file-browser
tex
protein-database
metawidget
resolution
azure-arm
plan-9
convex-optimization
page-replacement
amq
qtranslate
backbone-collections
opengl-4
trigger.io
ampps
rxtx
cronexpression
pytables
autosar
custom-lists
builtins
vulcanize
watch-os-2
synonym
dimension
respondcms
pre-build-event
query-by-example
data-protection
pushbots
contentcontrol
rewrite
zen-cart
sony-lifelog-api
wso2greg
avahi
omnifaces
git-ftp
nsurlsessiondatatask
node-serialport
kubuntu
android-broadcast
procedural-programming
cryptographichashfunction
cosine-similarity
spy++
iso-prolog
psr-4
cancellation
jjaql
dct
cfcache
amslidemenu
light
rolify
pclzip
wp7test
swfobject
web-notifications
dopostback
sentestingkit
uimanageddocument
faye
subgraph
cuda-gdb
failing-tests
convention
entity-attribute-value
rmdir
dataform
photolibrary
load-time
rowlex
zen
lxr
wcf-instancing
cuda.net
sun

Resources

Encrypt Message