GafaelfawrServiceTokenSpec

pydantic model gafaelfawr.models.kubernetes.GafaelfawrServiceTokenSpec

Holds the spec section of a GafaelfawrServiceToken resource.

Parameters:

data (Any)

Show JSON schema
{
   "title": "GafaelfawrServiceTokenSpec",
   "description": "Holds the ``spec`` section of a ``GafaelfawrServiceToken`` resource.",
   "type": "object",
   "properties": {
      "service": {
         "title": "Service",
         "type": "string"
      },
      "scopes": {
         "items": {
            "type": "string"
         },
         "title": "Scopes",
         "type": "array"
      }
   },
   "required": [
      "service",
      "scopes"
   ]
}

Fields:
field scopes: list[str] [Required]

The scopes to grant to the service token.

field service: str [Required]

The username of the service token.