DevOps Articles

Curated articles, resources, tips and trends from the DevOps World.

Securing Your Application Secrets With a Secure Vault

4 years ago medium.com
Securing Your Application Secrets With a Secure Vault

Summary: This is a summary of an article originally published by the source. Read the full original article here →

Nowadays, when building applications, we tend to store various application secrets like passwords, API keys, access keys, SSL certificates, and other confidential secrets in order to be able to communicate to various components of the applications. We want our system to be as secured as possible, so we don’t want to store our secret keys and certificates in the system or configurations in a file or something similar like we used to.

To access our secret, all we need to do is to pass the token and secret name to the get_secret_value function: This should print out our application secrets key.

You can easily run this, like below: The next thing to do here is to simply connect this to our main.py. We can update the file: We have updated our: To test this, let's test our first command — order: To get a list of orders, all you need is : To get our Taco order, we can simply extract our id which is in the square bracket ([]) and pass it to the get command: Tada!

Made with pure grit © 2024 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com