Reputation: 109
I can't find any documentation on how to properly setup Spring Vault in production environment. It's been said not to use tls_disable = 1
in production.
I'm running vault on an empty ec2 instance, i authenticate my application manually with a token and would like to continue doing so. I'm just looking for the proper way of creating the necessary certificates so it could work with https and not http as the documentation suggests.
Upvotes: 0
Views: 2577
Reputation: 18119
You have two options:
HTTP
:VaultEndpoint endpoint = new VaultEndpoint();
endpoint.setHost("localhost");
endpoint.setPort(8200);
endpoint.setScheme("http");
new VaultTemplate(endpoint, …)
Upvotes: 1