Skip to content

Commit

Permalink
database/cassandra: Docs: Add known issue warning to pem_bundle fie…
Browse files Browse the repository at this point in the history
  • Loading branch information
pcman312 authored and jartek committed Sep 11, 2021
1 parent f7057dd commit 91fb9c8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions website/content/api-docs/secret/databases/cassandra.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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; 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
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
Expand Down

0 comments on commit 91fb9c8

Please sign in to comment.