vault/website/content/api-docs/secret
Alexander Scheel 3d794050ff
Allow templating cluster-local AIA URIs (#18199)
* Allow templating of cluster-local AIA URIs

This adds a new configuration path, /config/cluster, which retains
cluster-local configuration. By extending /config/urls and its issuer
counterpart to include an enable_templating parameter, we can allow
operators to correctly identify the particular cluster a cert was
issued on, and tie its AIA information to this (cluster, issuer) pair
dynamically.

Notably, this does not solve all usage issues around AIA URIs: the CRL
and OCSP responder remain local, meaning that some merge capability is
required prior to passing it to other systems if they use CRL files and
must validate requests with certs from any arbitrary PR cluster.

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

* Add documentation about templated AIAs

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

* Add changelog entry

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

* Add tests

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

* AIA URIs -> AIA URLs

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

* issuer.AIAURIs might be nil

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

* Allow non-nil response to config/urls

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

* Always validate URLs on config update

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

* Ensure URLs lack templating parameters

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

* Review feedback

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

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
2022-12-05 10:38:26 -05:00
..
databases website: fixes redirected links (#17574) 2022-10-18 14:06:27 -04:00
identity website: content updates for developer (#17035) 2022-09-22 08:11:04 -07:00
key-management Fix missing quote in docs (#14277) 2022-02-25 09:02:08 -08:00
kv Fix a broken link (#17644) 2022-10-24 17:09:33 -07:00
ad.mdx VAULT-6091 Document Duration Format String (#15920) 2022-06-13 08:51:07 -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: API AWS Secrets Formatting (#16797) 2022-08-25 15:11:56 -07:00
azure.mdx website: fixes redirected links (#17574) 2022-10-18 14:06:27 -04:00
cassandra.mdx website: content updates for developer (#17035) 2022-09-22 08:11:04 -07:00
consul.mdx Add Consul Dataplane compatibility info to docs (#18041) 2022-11-22 08:56:18 -05:00
cubbyhole.mdx Replace docs references to PUT with POST (#14270) 2022-02-25 06:52:24 -08:00
gcp.mdx website: fixes redirected links (#17574) 2022-10-18 14:06:27 -04: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 Add new KMIP backend operation parameters to API documentation. (#16107) 2022-06-22 13:28:03 -04:00
kubernetes.mdx [Kubernetes Secret Engine]: Role namespace configuration possible via LabelSelector (#16240) 2022-07-19 13:11:45 -05:00
ldap.mdx secrets/ldap: updates API documentation (#17448) 2022-10-07 08:50:37 -05:00
mongodbatlas.mdx secrets/mongodbatlas: adds missing organization_id to API docs (#15624) 2022-05-26 08:08:29 -07:00
nomad.mdx website: content updates for developer (#17035) 2022-09-22 08:11:04 -07:00
pki.mdx Allow templating cluster-local AIA URIs (#18199) 2022-12-05 10:38:26 -05:00
rabbitmq.mdx RabbitMQ - Add username customization (#11899) 2021-06-22 14:50:46 -05:00
ssh.mdx Clarify ssh/public_key response, recommend -format=raw (#17745) 2022-10-31 11:14:49 -04:00
terraform.mdx website: content updates for developer (#17035) 2022-09-22 08:11:04 -07:00
totp.mdx Rename master key -> root key in docs (#14542) 2022-03-16 22:01:38 -07:00
transform.mdx Document the deletion_allowed transform flag (#17544) 2022-10-13 16:31:07 -05:00
transit.mdx docs: in transit secret engine docs, specify order with batch_input param (#17770) 2022-11-03 08:50:47 -05:00