public Integer getKeyNumber() {
      return keyNumber;
    }
Gets the password's key number

@return the password's key number
ambari-server/src/main/java/org/apache/ambari/server/serveraction/kerberos/CreatePrincipalsServerAction.java