update connect ca leaf endpoint docs (#11723)

* update connect ca leaf endpoint docs

Signed-off-by: FFMMM <FFMMM@users.noreply.github.com>

* pr feedback

* Update website/content/api-docs/agent/connect.mdx

Co-authored-by: Chris S. Kim <ckim@hashicorp.com>

Co-authored-by: Chris S. Kim <ckim@hashicorp.com>
This commit is contained in:
FFMMM 2021-12-03 10:44:36 -08:00 committed by GitHub
parent a89ffba2d4
commit 0c4633a231
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 4 deletions

View File

@ -169,10 +169,14 @@ The agent generates a CSR locally and calls the
is cached and returned by this API until it is near expiry or the root
certificates change.
This API supports blocking queries. The blocking query will block until
a new certificate is necessary because the existing certificate will expire
or the root certificate is being rotated. This blocking behavior allows
clients to efficiently wait for certificate rotations.
Non blocking queries to this endpoint will always check that the leaf certificate is not expired
and that the root certificates have not changed. Otherwise, a new leaf certificate is generated.
This API supports blocking queries. The blocking query will block until
a new certificate is necessary (because the existing certificate will expire, is expired,
or the root certificate is being rotated), or until the query timeout is reached. The current
query timeout is set to 10 minutes. This blocking behavior allows clients to
wait for certificate rotations.
| Method | Path | Produces |
| ------ | --------------------------------- | ------------------ |