Skip to content

Add JWT signing for internal cluster agent API

Thong Kuah requested to merge kas-internal-api-auth into master

What does this MR do?

This ensures only gitlab-kas can make requests to the internal API, which is necessary as sensitive info is returned in response.

FYI this whole endpoint is behind a disabled feature flag (:kubernetes_agent_internal_api)

Related issue: #235910 (closed)

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Thong Kuah

Merge request reports