Skip to content

Documentation of the Common Criteria Flag#1983

Closed
kitography wants to merge 40 commits intomainfrom
feature/vault-42991
Closed

Documentation of the Common Criteria Flag#1983
kitography wants to merge 40 commits intomainfrom
feature/vault-42991

Conversation

@kitography
Copy link
Copy Markdown
Contributor

This PR adds documentation for the feature flag common_criteria_mode which addresses some of the incompatibilities between the NIAP common criteria requirements and Vault APIs that need to be addressed ahead of getting NIAP certification.

schavis and others added 30 commits November 11, 2025 19:24
* Add spiffe secrets engine docs

* Apply suggestions from code review

Co-authored-by: Victor Rodriguez <vrizo@hashicorp.com>

* Renames

* Update content/vault/v1.21.x/content/api-docs/secret/spiffe.mdx

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

* Add spiffe secrets engine docs

* Apply suggestions from code review

Co-authored-by: Victor Rodriguez <vrizo@hashicorp.com>

* Renames

* Update content/vault/v1.21.x/content/api-docs/secret/spiffe.mdx

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

* Move to 2.0 folder

* Remove old versions of spiffe docs

* Apply suggestions from code review

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

* Apply suggestion from @ncabatoff

Co-authored-by: Nick Cabatoff <ncabatoff@hashicorp.com>

* Apply suggestions from code review

Co-authored-by: Nick Cabatoff <ncabatoff@hashicorp.com>

---------

Co-authored-by: Victor Rodriguez <vrizo@hashicorp.com>
Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
* Update Azure secrets docs:

* update ttl

* Update content/vault/v2.x (rc)/content/api-docs/secret/azure.mdx

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

* Update content/vault/v2.x (rc)/content/api-docs/secret/azure.mdx

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

* Update content/vault/v2.x (rc)/content/api-docs/secret/azure.mdx

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

* Update content/vault/v2.x (rc)/content/api-docs/secret/azure.mdx

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

* Update content/vault/v2.x (rc)/content/api-docs/secret/azure.mdx

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

* Update content/vault/v2.x (rc)/content/api-docs/secret/azure.mdx

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

* Update content/vault/v2.x (rc)/content/api-docs/secret/azure.mdx

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

* Update content/vault/v2.x (rc)/content/api-docs/secret/azure.mdx

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

---------

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
…claim_access_token` for Azure AD Auth (#1872)

https://hashicorp.atlassian.net/browse/VAULT-42462

### Description:

Adds documentation for two new parameters that support fetching group
memberships directly from the Microsoft Graph API when using the Azure
(Entra ID) provider with the JWT/OIDC auth method.

#### Changes


[jwt.mdx]: Add the distributed_claim_access_token parameter to the JWT
login endpoint. This access token is required when fetch_groups is
enabled and allows Vault to authenticate to the Microsoft Graph API to
retrieve group memberships.
Document the fetch_groups provider config option under the "Optional
azure-specific configuration" section. This boolean parameter lets Vault
fetch groups through GET /me/memberOf instead of relying on the groups
claim in the token, bypassing both the 200-group token limit and the
per-application 1,000 group assignment limit in Microsoft Entra ID.
Please go to the `Preview` tab and select the appropriate template:

*
[Boundary](?expand=1&labels=Boundary&title=Boundary+Docs&template=boundary_pull_request_template.md)
*
[Consul](?expand=1&labels=Consul&title=Consul+Docs&template=consul_pull_request_template.md)
* [HCP services](?expand=1&template=hcp_pull_request_template.md)
*
[Nomad](?expand=1&labels=Nomad,Runtime&title=Nomad+Docs&template=nomad_pull_request_template.md)

### Terraform

* [HCP
Terraform](?expand=1&labels=hcp,terraform&title=HCP+Terraform+Docs&template=hcp_terraform_pull_request_template.md)
*
[Terraform](?expand=1&labels=terraform&title=Terraform+Docs&template=terraform_pull_request_template.md)
* [Terraform
Enterprise](?expand=1&template=ptfe_release_pull_request_template.md)
* update documentation for introducing WIF for Secret Sync for Azure Destination

* replace plugin references with secret sync references and add secret sync identity token issuer references to the instructions.

* docs: revise headers to avoid possessive phrasing based on style feedback

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

* docs: update curl example to use VAULT_ADDR for endpoint

* docs: reword key retrieval description to avoid pronoun 'this'

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

* docs: update service principal description to use meaningful anchor text and remove pronoun 'this'

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

* docs: rewrite client_secret description in active voice and clarify fallback authentication behavior

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

* docs: rewrite identity_token_key description in active voice and remove pronoun usage

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

* docs: update curl example to use VAULT_ADDR for endpoint

* docs: rewrite managed identity description in active voice for clarity

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

* docs: clarify subject identifier requirement by combining statements for conciseness

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

* docs: revise WIF description to use active voice and clearer link text

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

* docs: clarify WIF explanation for readability while preserving original meaning

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

* docs: fix broken markdown link in azurekv.mdx

* docs: updating secrets sync docs for GCP WIF support

---------

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
Co-authored-by: Murali <murali.parthasarathy@hashicorp.com>
Co-authored-by: Yoko Hyakuna <yoko.hyakuna1@ibm.com>
schavis and others added 10 commits March 3, 2026 12:57
* update documentation for introducing WIF for Secret Sync for Azure Destination

* replace plugin references with secret sync references and add secret sync identity token issuer references to the instructions.

* docs: revise headers to avoid possessive phrasing based on style feedback

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

* docs: update curl example to use VAULT_ADDR for endpoint

* docs: reword key retrieval description to avoid pronoun 'this'

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

* docs: update service principal description to use meaningful anchor text and remove pronoun 'this'

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

* docs: rewrite client_secret description in active voice and clarify fallback authentication behavior

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

* docs: rewrite identity_token_key description in active voice and remove pronoun usage

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

* docs: update curl example to use VAULT_ADDR for endpoint

* docs: rewrite managed identity description in active voice for clarity

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

* docs: clarify subject identifier requirement by combining statements for conciseness

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

* docs: revise WIF description to use active voice and clearer link text

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

* docs: clarify WIF explanation for readability while preserving original meaning

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

* docs: fix broken markdown link in azurekv.mdx

* docs: updating secrets sync docs for GCP WIF support

* docs: updating secrets sync docs for GCP WIF support

---------

Co-authored-by: Arjun K S <Arjun.KS@ibm.com>
Co-authored-by: Arjun K S <arjun.ks@hashicorp.com>
Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
* Document the new DRBG parameter to sys/tools/random and transit's random

* Update content/vault/v2.x (rc)/content/api-docs/secret/transit.mdx

Co-authored-by: Nick Cabatoff <ncabatoff@hashicorp.com>

* Update content/vault/v2.x (rc)/content/api-docs/secret/transit.mdx

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

* Update content/vault/v2.x (rc)/content/api-docs/system/tools.mdx

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

* more detail around algo and auto

---------

Co-authored-by: Nick Cabatoff <ncabatoff@hashicorp.com>
Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
* update documentation for introducing WIF for Secret Sync for Azure Destination

* replace plugin references with secret sync references and add secret sync identity token issuer references to the instructions.

* docs: revise headers to avoid possessive phrasing based on style feedback

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

* docs: update curl example to use VAULT_ADDR for endpoint

* docs: reword key retrieval description to avoid pronoun 'this'

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

* docs: update service principal description to use meaningful anchor text and remove pronoun 'this'

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

* docs: rewrite client_secret description in active voice and clarify fallback authentication behavior

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

* docs: rewrite identity_token_key description in active voice and remove pronoun usage

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

* docs: update curl example to use VAULT_ADDR for endpoint

* docs: rewrite managed identity description in active voice for clarity

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

* docs: clarify subject identifier requirement by combining statements for conciseness

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

* docs: revise WIF description to use active voice and clearer link text

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

* docs: clarify WIF explanation for readability while preserving original meaning

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

* docs: fix broken markdown link in azurekv.mdx

* update documentation for introducing WIF for Secret Sync for AWS Destination

* update documentation for introducing WIF for Secret Sync for AWS Destination

* docs: updating secrets sync docs for GCP WIF support

* update documentation for introducing WIF for Secret Sync for AWS Destination

* Apply suggestions from code review

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

---------

Co-authored-by: Arjun K S <Arjun.KS@ibm.com>
Co-authored-by: Arjun K S <arjun.ks@hashicorp.com>
Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
Co-authored-by: Murali <murali.parthasarathy@hashicorp.com>
Change key usage values from `random` to `generate_random`.

Update the sample output of GET /sys/managed-keys/:type/:name to include
key usages.
)

* add dep partial

* fewer words

* add partial to deprecations list

* Revise deprecation dates

Updated the support timeline for the allow_token_displayname parameter.
@kitography kitography requested a review from a team as a code owner March 11, 2026 16:14
@github-actions github-actions Bot added the Vault Content update for Vault product docs label Mar 11, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 11, 2026

Vercel Previews Deployed

Name Status Preview Updated (UTC)
Dev Portal ✅ Ready (Inspect) Visit Preview Wed Mar 11 16:29:54 UTC 2026
Unified Docs API ✅ Ready (Inspect) Visit Preview Wed Mar 11 16:25:45 UTC 2026

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 11, 2026

Broken Link Checker

No broken links found! 🎉


# Common Criteria Flag

The feature flag is "common_criteria_mode", it's set to "true" (the string) in
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought to enable the feature common_criteria_mode was added within the slice of the feature_flags configuration field within vault.hcl?

feature_flags = ["common_criteria_mode"]

| `POST` | `/pki/issuer/:issuer_ref/sign-intermediate/` |
| `POST` | `/pki/sign-verbatim(/:name)` |
| `POST` | `/pki/issuer/:issuer_ref/sign-verbatim(/:name)` |
| `POST` | `/pki/roles/:name` |
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: This API uses not_before_duration not not_before

@@ -0,0 +1,85 @@
---
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you're adding new pages, please make sure to also update the nav file in the data folder

@@ -0,0 +1,85 @@
---
layout: api
page_title: Common Criteria Feature Flag
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
page_title: Common Criteria Feature Flag
page_title: Common criteria feature flag

Style correction: use sentence case for titles and headings

necessary but not sufficient to run Vault in a manner compliant with common
criteria.

# Common Criteria Flag
Copy link
Copy Markdown
Contributor

@schavis schavis Mar 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm very confused about the purpose of this page.

Just to confirm, this is a configuration parameter and an activation flag?

If it's a configuration parameter, why are we documenting how to enable it and the limitations/effects of the configuration setting in the API docs?

Generally speaking, content related to enabling a configuration parameter (and the effect it has on your server) should be in the configuration section. The API docs should focus on the available API endpoints, what they do, and what the request/response objects look like.

From skimming the rest of the PR, it doesn't seem like this is in the right place.

@schavis schavis added the waiting-response Waiting on response from contributor. label Mar 23, 2026
Base automatically changed from vault/2.x to main April 3, 2026 12:27
@schavis schavis requested a review from a team as a code owner April 3, 2026 12:27
@schavis schavis requested a review from LeahMarieBush April 3, 2026 12:27
@schavis
Copy link
Copy Markdown
Contributor

schavis commented Apr 13, 2026

This PR appears abandoned. I'm going to close it if only for the overwhelming number of conflicts. Feel free to recreate the PR against main

@schavis schavis closed this Apr 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Vault Content update for Vault product docs waiting-response Waiting on response from contributor.

Projects

None yet

Development

Successfully merging this pull request may close these issues.