tencentyun / elasticsearch-repository-cos

The COS repository plugin adds support for using Tencent Cloud COS as a repository for Snapshot/Restore
Apache License 2.0
16 stars 15 forks source link

add secret #19

Closed stoplyy closed 2 years ago

stoplyy commented 2 years ago

fixed #17

  1. 新增了secret相关配置,通过 elasticsearch-keystore add 设置
    qcloud.cos.client.
    qcloud.cos.client..secret_id
    qcloud.cos.client..secret_key
  2. COSClientSettings 中新增了account 配置,用于匹配secret中的account
  3. 实现ReloadablePlugin接口,以响应reload_secure_settings
  4. 增加了 formatterConfig.xml 用于规范代码的格式化