Skip to content

CSR .spec.usages - add definition table for valid values #30585

Open
@brsolomon-deloitte

Description

@brsolomon-deloitte

This is a Feature Request

What would you like to be added

It would be useful to see https://kubernetes.io/docs/reference/access-authn-authz/certificate-signing-requests/ do one or possibly two things:

  • Display a 2-column table that gives the valid values of csr.spec.usages and a short definition of each in the second column
  • A more prominent link to https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.3 as defining some of the usages. (Though notedly is does not define all; for example "ipsec end system" doesn't seem to be described directly there.) This doc links to that RFC but not in referneces to csr.spec.usages.

Why is this needed

The page referenced above does not show a clear mapping of each usage type to its definition/usage. Similarly, kubectl explain csr.spec.usages shows a list of valid values, but does not explain what any are, besides alluding to which are used in TLS client versus server certs. Many of these such as "content commitment" are not inherently obvious from name only.

Comments

For example:

Usage Definition
"signing" xxx
"email protection" xxx

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.language/enIssues or PRs related to English languagelifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.sig/authCategorizes an issue or PR as relevant to SIG Auth.sig/securityCategorizes an issue or PR as relevant to SIG Security.

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions