GafaelfawrIngressDelegateInternal#

pydantic model gafaelfawr.models.kubernetes.GafaelfawrIngressDelegateInternal#

Configuration for a delegated internal token.

Parameters:

data (Any) –

Show JSON schema
{
   "title": "GafaelfawrIngressDelegateInternal",
   "description": "Configuration for a delegated internal token.",
   "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 requested scopes of the delegated token.

field service: str [Required]#

The name of the service to which the token is being delegated.

model_dump(**kwargs)#

Export the model as a dictionary.

Overridden to change the default of by_alias from False to True, so that by default the exported dictionary uses camel-case.

Parameters:

kwargs (Any) –

Return type:

dict[str, Any]

model_dump_json(**kwargs)#

Export the model as JSON.

Overridden to change the default of by_alias from False to True, so that by default the exported dictionary uses camel-case.

Parameters:

kwargs (Any) –

Return type:

str