@Override
  public void run() throws Exception {
    validate();
    rotate(outputStream, outFormat, inputStream, inFormat, masterKeyUri, credentialPath,
        keyTemplate);
  }
Generates, adds a new key to an existing keyset and sets the new key as the primary
key.
tools/tinkey/src/main/java/com/google/crypto/tink/tinkey/RotateKeysetCommand.java