database/cassandra: Docs: Add known issue warning to `pem_bundle` field (#11823)

This commit is contained in:
Michael Golowka 2021-06-10 17:04:12 -06:00 committed by GitHub
parent b42529dd17
commit 38ad0a4ac9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -46,6 +46,11 @@ has a number of parameters to further configure a connection.
certificate and private key; a certificate, private key, and issuing CA certificate and private key; a certificate, private key, and issuing CA
certificate; or just a CA certificate. certificate; or just a CA certificate.
!> **Known Issue:** There is a known issue when using `pem_bundle` with only a CA (no client certificate & key)
where Vault will not parse the CA certificate correctly. To work around this, use `pem_json` with the
following structure: `{"ca_chain": ["-----BEGIN CERTIFICATE-----\nMIIEFjC...FNYakP7I\n-----END CERTIFICATE-----"]}`
Also make sure the PEM data is properly JSON encoded with `\n` instead of newlines.
- `pem_json` `(string: "")` Specifies JSON containing a certificate and - `pem_json` `(string: "")` Specifies JSON containing a certificate and
private key; a certificate, private key, and issuing CA certificate; or just a private key; a certificate, private key, and issuing CA certificate; or just a
CA certificate. For convenience format is the same as the output of the CA certificate. For convenience format is the same as the output of the