key
Manages keys via the KeyProvider.
For more details on KeyProviders, see Transparent Encryption Guide.
Providers frequently require a password/other secret.
If a provider requires a password and is unable to find one, it uses a default password and emits a warning message that the default password is being used.
If the strict
flag is provided, the warning message becomes an error and the command returns immediately with an error status.
NOTE
|
The usage is as follows:
$ hadoop key <args> [options]
create <keyname> [-cipher cipher] [-size size] [-description description] [-attr attribute=value] [-provider provider] [-strict] [-help] |
Creates a new key for the name specified by the |
roll <keyname> [-provider provider] [-strict] [-help] |
Creates a new version for the specified key within the provider indicated using the |
delete <keyname> [-provider provider] [-strict] [-f] [-help] |
Deletes all versions of the key specified by the |
list [-provider provider] [-strict] [-metadata] [-help] |
Displays the key names contained within a particular provider as configured in core-site.xml or specified with the |
check <keyname> [-provider provider] [-strict] [-help] |
Checks password of the |
help |
Prints the command usage details |