mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 19:17:58 +00:00
Remove references to -var
This commit is contained in:
@@ -37,9 +37,9 @@ func (h *CLIHandler) Auth(c *api.Client, m map[string]string) (string, error) {
|
||||
func (h *CLIHandler) Help() string {
|
||||
help := `
|
||||
The GitHub credential provider allows you to authenticate with GitHub.
|
||||
To use it, specify the "token" var with the "-var" flag. The value should
|
||||
be a personal access token for your GitHub account. You can generate a personal
|
||||
access token on your account settings page on GitHub.
|
||||
To use it, specify the "token" parameter. The value should be a personal access
|
||||
token for your GitHub account. You can generate a personal access token on your
|
||||
account settings page on GitHub.
|
||||
|
||||
Example: vault auth -method=github token=<token>
|
||||
|
||||
|
||||
@@ -45,11 +45,11 @@ func (h *CLIHandler) Help() string {
|
||||
help := `
|
||||
The "userpass" credential provider allows you to authenticate with
|
||||
a username and password. To use it, specify the "username" and "password"
|
||||
vars with the "-var" flag.
|
||||
parameters.
|
||||
|
||||
Example: vault auth -method=userpass \
|
||||
-var="username=<user>"
|
||||
-var="password=<password>"
|
||||
username=<user> \
|
||||
password=<password>
|
||||
|
||||
`
|
||||
|
||||
|
||||
@@ -23,8 +23,8 @@ passwords from an external source.
|
||||
|
||||
```
|
||||
$ vault auth -method=userpass \
|
||||
-var="username=foo" \
|
||||
-var="password=bar"
|
||||
username=foo \
|
||||
password=bar
|
||||
...
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user