HADOOP-11609. Correct credential commands info in CommandsManual.html#credential. Contributed by Varun Saxena.
(cherry picked from commit 6e891a921e
)
This commit is contained in:
parent
c3e2c20c99
commit
a732b58beb
|
@ -725,6 +725,9 @@ Release 2.7.0 - UNRELEASED
|
||||||
HADOOP-11729. Fix link to cgroups doc in site.xml. (Masatake Iwasaki via
|
HADOOP-11729. Fix link to cgroups doc in site.xml. (Masatake Iwasaki via
|
||||||
ozawa)
|
ozawa)
|
||||||
|
|
||||||
|
HADOOP-11609. Correct credential commands info in
|
||||||
|
CommandsManual.html#credential. (Varun Saxena via ozawa)
|
||||||
|
|
||||||
Release 2.6.1 - UNRELEASED
|
Release 2.6.1 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -81,7 +81,7 @@ public class CredentialShell extends Configured implements Tool {
|
||||||
* <pre>
|
* <pre>
|
||||||
* % hadoop credential create alias [-provider providerPath]
|
* % hadoop credential create alias [-provider providerPath]
|
||||||
* % hadoop credential list [-provider providerPath]
|
* % hadoop credential list [-provider providerPath]
|
||||||
* % hadoop credential delete alias [-provider providerPath] [-i]
|
* % hadoop credential delete alias [-provider providerPath] [-f]
|
||||||
* </pre>
|
* </pre>
|
||||||
* @param args
|
* @param args
|
||||||
* @return 0 if the argument(s) were recognized, 1 otherwise
|
* @return 0 if the argument(s) were recognized, 1 otherwise
|
||||||
|
|
|
@ -106,8 +106,8 @@ Usage: `hadoop credential <subcommand> [options]`
|
||||||
|
|
||||||
| COMMAND\_OPTION | Description |
|
| COMMAND\_OPTION | Description |
|
||||||
|:---- |:---- |
|
|:---- |:---- |
|
||||||
| create *alias* [-v *value*][-provider *provider-path*] | Prompts the user for a credential to be stored as the given alias when a value is not provided via `-v`. The *hadoop.security.credential.provider.path* within the core-site.xml file will be used unless a `-provider` is indicated. |
|
| create *alias* [-provider *provider-path*] | Prompts the user for a credential to be stored as the given alias. The *hadoop.security.credential.provider.path* within the core-site.xml file will be used unless a `-provider` is indicated. |
|
||||||
| delete *alias* [-i][-provider *provider-path*] | Deletes the credential with the provided alias and optionally warns the user when `--interactive` is used. The *hadoop.security.credential.provider.path* within the core-site.xml file will be used unless a `-provider` is indicated. |
|
| delete *alias* [-provider *provider-path*] [-f] | Deletes the credential with the provided alias. The *hadoop.security.credential.provider.path* within the core-site.xml file will be used unless a `-provider` is indicated. The command asks for confirmation unless `-f` is specified |
|
||||||
| list [-provider *provider-path*] | Lists all of the credential aliases The *hadoop.security.credential.provider.path* within the core-site.xml file will be used unless a `-provider` is indicated. |
|
| list [-provider *provider-path*] | Lists all of the credential aliases The *hadoop.security.credential.provider.path* within the core-site.xml file will be used unless a `-provider` is indicated. |
|
||||||
|
|
||||||
Command to manage credentials, passwords and secrets within credential providers.
|
Command to manage credentials, passwords and secrets within credential providers.
|
||||||
|
|
Loading…
Reference in New Issue