Hanzo
PlatformHanzo KMSIntegrationsFrameworks

Flask

How to use Hanzo KMS to inject environment variables and secrets into a Flask app.

Prerequisites:

Initialize Hanzo KMS for your Flask app

# navigate to the root of your of your project 
cd /path/to/project

# then initialize Hanzo KMS
kms init

Start your application as usual but with Hanzo KMS

kms run -- <your application start command>

# Example 
kms run -- flask run

How is this guide?

Last updated on

On this page