Class UpgradeKeyStoreCommand

java.lang.Object
All Implemented Interfaces:
java.io.Closeable, java.lang.AutoCloseable

public class UpgradeKeyStoreCommand
extends BaseKeyStoreCommand
A sub-command for the keystore CLI that enables upgrading the keystore format.
  • Field Summary

    Fields inherited from class org.elasticsearch.cli.KeyStoreAwareCommand

    MAX_PASSPHRASE_LENGTH

    Fields inherited from class org.elasticsearch.cli.Command

    description, parser
  • Method Summary

    Modifier and Type Method Description
    protected void executeCommand​(org.elasticsearch.cli.Terminal terminal, joptsimple.OptionSet options, Environment env)
    This is called after the keystore password has been read from the stdin and the keystore is decrypted and loaded.

    Methods inherited from class org.elasticsearch.common.settings.BaseKeyStoreCommand

    execute, getKeyStore, getKeyStorePassword

    Methods inherited from class org.elasticsearch.cli.KeyStoreAwareCommand

    decryptKeyStore, readPassword

    Methods inherited from class org.elasticsearch.cli.EnvironmentAwareCommand

    createEnv, createEnv, execute

    Methods inherited from class org.elasticsearch.cli.Command

    addShutdownHook, close, exit, main, printAdditionalHelp

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait