Hide beta Secrets Manager token endpoints with hidden true
What does this MR do and why?
The API style guide keeps beta endpoints out of the OpenAPI spec with hidden true. The Secrets Manager access token endpoints already declare route_setting :lifecycle, :beta, but they were left out by listing their whole class in excluded_api_classes instead. This MR marks both endpoints hidden true and takes the class off the list, so the endpoints stay out of the spec.
The spec gains an unused Secrets manager tag until the endpoints reach general availability, as the Dependency firewall tag already does. The endpoints belong to the Secrets Management group (feature_category :secrets_management).
References
Part of: #636462 (closed)
Screenshots or screen recordings
How to set up and validate locally
grep -c "secrets_manager/access_token" doc/api/openapi/openapi_v3.yaml
git diff origin/636462-excluded-api-classes-reasons -- doc/api/openapi/openapi_v3.yamlThe first command prints 0, so the endpoints are still not in the spec. The diff shows only the new Secrets manager tag.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.