Cycloid Credentials manager uses the opensource engine Vault technology (opens new window) to store secrets that you need.
Centrally stores, accesses, and distributes secrets like API keys, AWS IAM/STS credentials, X.509 certificates, SSH credentials, and more.
# What ?
Credentials path
is composed of a type and name. path
can be seen as the credential full name to use. Each path contain one or several fields
.
And each fields are composed of a key
and a value
.
Path and field name are closely linked together. To give an example, I want to provide a database password to my application.
To satisfy that, I could define a Cycloid credential of type custom
, named db_password
containing the field named password
and secret
as value.
The generated path would be custom_db_password
.
TIP
The path is automatically generated based on your secret name and type, but if you desire to set a different one, please click on the grey lock next to it.
To use it into a Cycloid pipeline, you will refer to it using the format <cred path>.<cred field name>
.
So, you would write ((custom_db_password.password))
in your pipeline.
Another example for an application which requires a login and password, you could create as well custom_app_creds
containing fields login
and password
to reflect to:
custom_app_creds.login = foo
custom_app_creds.password = bar
2
Read Vault in the pipeline section to have more details about how to use Cycloid credentials into a pipeline.
We recommend you to also read Organize data in vault section to see the different ways to store credentials before starting to create your own.
WARNING
By default a Vault
credential exists, to be able to access your credentials.
This is both used by our API and potentially by your pipelines to securely
fetch your secrets without exposing them. Please do not remove it.
# Types of credentials
You can create the following credentials:
- AWS
- GCP
- Azure (storage)
- SSH
- Basic Authentication
- Custom
- Swift
# AWS
These are used in various situations: fetching logs for the application, from cloudwatch, reading the billing status of your application, managing resources via terraform, etc.
The format is pretty simple, at it is composed of the access key and the secret key (opens new window).
# GCP
A valid Google Cloud Platform service account key (opens new window) in JSON format.
# Azure (storage)
Storage account name and access key to use an Azure Blob Storage.
# SSH
The SSH credentials are in fact SSH private keys, as they are mostly used to access git repositories storing either: pipeline/ansible/terraform configuration or your own application code.
The key has to be a valid SSH private key otherwise you will receive an error.
# Basic Authentication
The Basic Authentication is commonly used on web services. It requires a simple username and password that can be passed as headers or in the url.
# Custom
Custom credential type are basically any number of key/values that you want. That allows to store most type of credentials in the way that you would like: whether http authentication, database password, ansible-vault password, etc.
# Swift
Swift credential will be used to configure Swift external backend. It's based on V3 authentication against Openstack's Keystone.