@Override
    public boolean equals(final Object o) {
        if (this == o) {
            return true;
        }
        if (Objects.isNull(o) || getClass() != o.getClass()) {
            return false;
        }
        KeyAuthRuleHandle that = (KeyAuthRuleHandle) o;
        return Objects.equals(keyName, that.keyName)
                && Objects.equals(key, that.key);
    }
Set the key.

@param key key
shenyu-common/src/main/java/org/apache/shenyu/common/dto/convert/rule/impl/KeyAuthRuleHandle.java