mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 03:27:54 +00:00
dev docs: clarify internal and external token helpers (#13014)
* dev docs: clarify internal and external token helpers * Add docs for DefaultTokenHelper
This commit is contained in:
@@ -14,6 +14,7 @@ import (
|
||||
)
|
||||
|
||||
// DefaultTokenHelper returns the token helper that is configured for Vault.
|
||||
// This helper should only be used for non-server CLI commands.
|
||||
func DefaultTokenHelper() (token.TokenHelper, error) {
|
||||
return config.DefaultTokenHelper()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user