blob: 634c9a89cd9a2a8d96b4235522e5fe11b49045a0 [file] [log] [blame]
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#pragma once
#include <string>
#include <vector>
#include "utils/crypto/EncryptionUtils.h"
#include "properties/PropertiesFile.h"
namespace org {
namespace apache {
namespace nifi {
namespace minifi {
namespace encrypt_config {
class ConfigFile : public PropertiesFile {
public:
using PropertiesFile::PropertiesFile;
[[nodiscard]] std::vector<std::string> getSensitiveProperties() const;
private:
friend bool operator==(const ConfigFile&, const ConfigFile&);
};
} // namespace encrypt_config
} // namespace minifi
} // namespace nifi
} // namespace apache
} // namespace org