Vault – File storage as secret.
There are several reasons to store certain types of files such as secrets, certificates, private keys, etc. But without exaggerating, Vault is not a file store. One of the simplest…
Ansible – Read Vault secrets.
In this post, I want to leave here an example of how to get a secret from Hashicorp Vault, from an Ansible playbook. The example is very simple, I will…
Terraform – Read Vault secrets
Hello, in this post I want to show a code snippet to integrate Terraform with Vault, actually connect to Vault and get credentials. In this example, for authentication in Vault,…
GitLab – Upgrade Path
These days I needed to update my GitLab which was already many versions behind. In this post I will quickly show that updating is not just an upgrade button. At…
Terraform – Interaction with Python
Hello, in this post, I will show something very useful for me in the next steps of the project, which is the iteration of Terraform, calling Python scripts, sending parameters…
Terraform – PostgreSQL as Backend (tfstate)
One of the sensitive points in Terraform projects are the famous state files or tfstates ( https://developer.hashicorp.com/terraform/language/state ), and when it comes to more dynamic use as we will do,…
Terraform – Docker image of K8s.
Hello! I’m going to start some posts about Terraform here, describing the resources that I’m going to use from now on in this project. I won’t have a Terraform server,…
Vault – PostgreSQL as Backend
Ok, but the post itself is how to configure Vault to use a PostgreSQL database as storage / backend. This provides much greater security for data, as it can involve…
Vault – Authentication methods with Python
I’ll leave here some code snippets to show how to do authentication in Python in Vault using the methods described in https://devops-db.com/vault-authentication-methods/. https://github.com/faustobranco/devops-db/tree/master/knowledge-base/python/vault-authentication Token. https://github.com/faustobranco/devops-db/blob/master/knowledge-base/python/vault-authentication/auth_token.py LDAP. TLS. For this method,…
Vault – Authentication methods.
In this post, I want to show you the 4 most common authentication types for Vault. I won’t go into the details of each of them, as that would generate…