Skip to content

Commit

Permalink
add env desc
Browse files Browse the repository at this point in the history
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
  • Loading branch information
mteodor committed Mar 1, 2021
1 parent 14afb40 commit 1275f5e
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ MF_VAULT_PKI_PATH=pki
MF_VAULT_PKI_INT_PATH=pki_int
MF_VAULT_CA_DOMAIN_NAME=mainflux.com
MF_VAULT_CA_OU='Mainflux Cloud'
MF_VAULT_CA_ORG='Mainflux Company'
MF_VAULT_CA_ORG='Mainflux Co.'
MF_VAULT_CA_COUNTRY=Serbia
MF_VAULT_CA_LOC=BG

Expand Down
21 changes: 21 additions & 0 deletions docker/addons/vault/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,27 @@ This is Vault service deployment to be used with Mainflux.

When the Vault service is started, some initialization steps need to be done to set things up.

## Configuration

| Variable | Description | Default |
| ------------------------- | ----------------------------------------------------------------------- | -------------- |
| MF_VAULT_HOST | Vault service address | vault |
| MF_VAULT_PORT | Vault service port | 8200 |
| MF_VAULT_UNSEAL_KEY_1 | Vault unseal key | "" |
| MF_VAULT_UNSEAL_KEY_2 | Vault unseal key | "" |
| MF_VAULT_UNSEAL_KEY_3 | Vault unseal key | "" |
| MF_VAULT_TOKEN | Vault cli access token | "" |
| MF_VAULT_PKI_PATH | Vault secrets engine path for CA | pki |
| MF_VAULT_PKI_INT_PATH | Vault secrets engine path for intermediate CA | pki_int |
| MF_VAULT_CA_ROLE_NAME | Vault secrets engine role | mainflux |
| MF_VAULT_CA_NAME | Certificates name used by `vault-set-pki.sh` | mainflux |
| MF_VAULT_CA_DOMAIN_NAME | Domain name used for CA creation by `vault-set-pki.sh` | mainflux.com |
| MF_VAULT_CA_OU | Org unit used for CA creation by `vault-set-pki.sh` | Mainflux Cloud |
| MF_VAULT_CA_ORG | Organization used for CA creation by `vault-set-pki.sh` | Mainflux Co. |
| MF_VAULT_CA_COUNTRY | Country used for CA creation by `vault-set-pki.sh` | Serbia |
| MF_VAULT_CA_LOC | Location used for CA creation by `vault-set-pki.sh` | BG |


## Setup

The following scripts are provided, which work on the running Vault service in Docker.
Expand Down

0 comments on commit 1275f5e

Please sign in to comment.