How To Install python-custodia on CentOS 7

In this tutorial we learn how to install python-custodia on CentOS 7. python-custodia is Sub-package with python2 custodia modules

Introduction

In this tutorial we learn how to install python-custodia on CentOS 7.

What is python-custodia

Sub-package with python2 custodia modules Custodia is a Secrets Service Provider, it stores or proxies access to keys, password, and secret material in general. Custodia is built to use the HTTP protocol and a RESTful API as an IPC mechanism over a local Unix Socket. It can also be exposed to a network via a Reverse Proxy service assuming proper authentication and header validation is implemented in the Proxy. Custodia is modular, the configuration file controls how authentication, authorization, storage and API plugins are combined and exposed.

We can use yum or dnf to install python-custodia on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install python-custodia.

Install python-custodia on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install python-custodia using yum by running the following command:

sudo yum -y install python-custodia

Install python-custodia on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install python-custodia using dnf by running the following command:

sudo dnf -y install python-custodia

How To Uninstall python-custodia on CentOS 7

To uninstall only the python-custodia package we can use the following command:

sudo dnf remove python-custodia

References

Summary

In this tutorial we learn how to install python-custodia on CentOS 7 using yum and dnf.