open-vault/website/content/api-docs/secret
Alexander Scheel 33a9218115
Add full CA Chain to /pki/cert/ca_chain response (#13935)
* Include full chain in /cert/ca_chain response

This allows callers to get the full chain (including issuing
certificates) from a call to /cert/ca_chain. Previously, most endpoints
(including during issuance) do not include the root authority, requiring
an explicit call to /cert/ca to fetch. This allows full chains to be
constructed without without needing multiple calls to the API.

Resolves: #13489

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

* Add test case for full CA issuance

We test three main scenarios:

 1. A root-only CA's `/cert/ca_chain`'s `.data.ca_chain` field should
    contain only the root,
 2. An intermediate CA (with root provide) should contain both the root
    and the intermediate.
 3. An external (e.g., `/config/ca`-provided) CA with both root and
    intermediate should contain both certs.

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

* Add documentation for new ca_chain field

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

* Add changelog entry

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

* Add note about where to find the entire chain

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
2022-02-07 14:37:01 -05:00
..
databases Document the use of inline SSL certificates for PostgreSQL (#11985) 2022-02-04 11:48:19 -05:00
identity Update entity-alias.mdx (#11629) 2021-12-20 15:05:34 -05:00
key-management Adds documentation for GCP Cloud KMS support in key management secrets engine (#13153) 2021-11-16 11:27:08 -08:00
kv Remove extra commas (#13684) 2022-01-18 12:15:52 -05:00
ad.mdx plugins/ad: Add rotate-role endpoint (#11942) 2021-06-25 14:00:03 -04:00
alicloud.mdx feat(website): migrates nav data format and updates docs pages (#11242) 2021-04-06 13:49:04 -04:00
aws.mdx [Docs] Add documentation for username_template feature in AWS Secrets Engine (#12310) 2021-08-11 14:51:00 -07:00
azure.mdx included permissions table (#13567) 2022-01-06 12:32:52 -08:00
cassandra.mdx feat(website): migrates nav data format and updates docs pages (#11242) 2021-04-06 13:49:04 -04:00
consul.mdx feat(website): migrates nav data format and updates docs pages (#11242) 2021-04-06 13:49:04 -04:00
cubbyhole.mdx feat(website): migrates nav data format and updates docs pages (#11242) 2021-04-06 13:49:04 -04:00
gcp.mdx Update Documentation for GCP Static Account (#12027) 2021-07-13 09:36:05 -07:00
gcpkms.mdx feat(website): migrates nav data format and updates docs pages (#11242) 2021-04-06 13:49:04 -04:00
index.mdx feat(website): migrates nav data format and updates docs pages (#11242) 2021-04-06 13:49:04 -04:00
kmip.mdx feat(website): migrates nav data format and updates docs pages (#11242) 2021-04-06 13:49:04 -04:00
mongodbatlas.mdx docs: fix mongodb atlas username template doc (#12992) 2021-11-01 15:17:55 -05:00
nomad.mdx feat(website): migrates nav data format and updates docs pages (#11242) 2021-04-06 13:49:04 -04:00
openldap.mdx feat(website): migrates nav data format and updates docs pages (#11242) 2021-04-06 13:49:04 -04:00
pki.mdx Add full CA Chain to /pki/cert/ca_chain response (#13935) 2022-02-07 14:37:01 -05:00
rabbitmq.mdx RabbitMQ - Add username customization (#11899) 2021-06-22 14:50:46 -05:00
ssh.mdx Let allowed_users template mix templated and non-templated parts (#10886) 2021-10-19 15:00:15 -07:00
terraform.mdx feat(website): migrates nav data format and updates docs pages (#11242) 2021-04-06 13:49:04 -04:00
totp.mdx feat(website): migrates nav data format and updates docs pages (#11242) 2021-04-06 13:49:04 -04:00
transform.mdx Document default value of encode_format field for Transform templates. (#12983) 2021-11-01 13:47:37 -04:00
transit.mdx Time-based transit key autorotation (#13691) 2022-01-20 09:10:15 -06:00