HashiCorp: Configure Groundplex nodes
Configure Groundplex nodes to use a HashiCorp Vault.
Overview
A secrets-config.json node configuration file provides the information that the Groundplex nodes need to access secrets.- Permissions to access, update, and restart the Groundplex nodes
- Create a secrets-config.json file.
- Configure each Groundplex node.
This secrets-config.json file sets up connections to a variety of Vaults:
- Approle
- LDAP
{
"HCP": [
{
"alias": "approle",
"namespace": "admin/developer",
"location": "https://qa-vault-cluster-public-vault-b0030966.7e5cc021.z1.hashicorp.cloud:8200/",
"auth_method": "approle",
"role_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"secret_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
},
{
"alias": "custom_approle",
"namespace": "admin/developer",
"location": "https://qa-vault-cluster-public-vault-b0030966.7e5cc021.z1.hashicorp.cloud:8200/",
"auth_method": "approle",
"role_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"secret_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"auth_path": "custom_approle"
},
]
}
{
"HCP" : [
{
"alias": "hr",
"namespace": "hradmin/recruiter",
"location": "https://my-hr-cluster.vault.xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.aws.hashicorp.cloud:8200",
"auth_method":"ldap"
"username": "[email protected]",
"password": "Doe's1password"
},
{
"alias": "custom_ldap",
"namespace": "admin/developer",
"location": "https://vault-cluster-public-vault-b68453566.27e35cc0.z1.hashicorp.cloud:8200/",
"auth_method": "ldap",
"username": "[email protected]",
"password": "PWd4Doe",
"auth_path": "custom_ldap",
"project_space": ""
}
]
}