Polishing.
Simplify file read. Add tests. See gh-609 Original pull request: gh-614
This commit is contained in:
@@ -9,9 +9,8 @@ Spring Cloud Vault supports token and AppId authentication.
|
||||
=== Token authentication
|
||||
|
||||
Tokens are the core method for authentication within Vault.
|
||||
Token authentication requires a static token to be provided using the
|
||||
https://github.com/spring-cloud/spring-cloud-commons/blob/master/docs/src/main/asciidoc/spring-cloud-commons.adoc#the-bootstrap-application-context[Bootstrap Application Context].
|
||||
As a fallback the token may also be retrieved from ~/.vault-token which is the default location used by the Vault CLI to cache a token.
|
||||
Token authentication requires a static token to be provided using the configuration.
|
||||
As a fallback, the token may also be retrieved from `~/.vault-token` which is the default location used by the Vault CLI to cache tokens.
|
||||
|
||||
NOTE: Token authentication is the default authentication method.
|
||||
If a token is disclosed an unintended party gains access to Vault and can access secrets for the intended client.
|
||||
|
||||
Reference in New Issue
Block a user