@Override
    public boolean equals(final Object object) {
        if (this == object) {
            return true;
        }
        if (object == null || getClass() != object.getClass()) {
            return false;
        }
        final HashedApiKey that = (HashedApiKey) object;
        return version == that.version && enabled == that.enabled && Objects.equals(id,
                that.id) && Objects.equals(createTimeMs,
                that.createTimeMs) && Objects.equals(createUser, that.createUser) && Objects.equals(
                updateTimeMs,
                that.updateTimeMs) && Objects.equals(updateUser, that.updateUser) && Objects.equals(
                owner,
                that.owner) && Objects.equals(apiKeyHash, that.apiKeyHash) && Objects.equals(
                apiKeyPrefix,
                that.apiKeyPrefix) && Objects.equals(expireTimeMs, that.expireTimeMs) && Objects.equals(
                name,
                that.name) && Objects.equals(comments, that.comments) && hashAlgorithm == that.hashAlgorithm;
    }
A hashed API key. The actual API key is not persisted.
stroom-core-shared/src/main/java/stroom/security/shared/HashedApiKey.java