mirror of
https://github.com/ceph/ceph
synced 2025-02-22 18:47:18 +00:00
rgw: add seperate option for verify ssl for vault KMS engine
Signed-off-by: Jiffin Tony Thottan <jthottan@redhat.com>
This commit is contained in:
parent
8a5b329e06
commit
4a93faa2ee
@ -2376,6 +2376,15 @@ options:
|
||||
- rgw_crypt_vault_auth
|
||||
- rgw_crypt_vault_addr
|
||||
with_legacy: true
|
||||
# Enable TLS authentication rgw and vault
|
||||
- name: rgw_crypt_vault_verify_ssl
|
||||
type: bool
|
||||
level: advanced
|
||||
desc: Should RGW verify the vault server SSL certificate.
|
||||
default: true
|
||||
services:
|
||||
- rgw
|
||||
with_legacy: true
|
||||
- name: rgw_crypt_kmip_addr
|
||||
type: str
|
||||
level: advanced
|
||||
|
@ -252,6 +252,8 @@ protected:
|
||||
secret_req.append_header("X-Vault-Namespace", vault_namespace);
|
||||
}
|
||||
|
||||
secret_req.set_verify_ssl(cct->_conf->rgw_crypt_vault_verify_ssl);
|
||||
|
||||
res = secret_req.process(null_yield);
|
||||
if (res < 0) {
|
||||
ldout(cct, 0) << "ERROR: Request to Vault failed with error " << res << dendl;
|
||||
|
Loading…
Reference in New Issue
Block a user