TokenRequest requests a token for a given service account.
| Name | Type | Description | Notes |
|---|---|---|---|
| api_version | str | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] |
| kind | str | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] |
| metadata | V1ObjectMeta | [optional] | |
| spec | V1TokenRequestSpec | [optional] | |
| status | V1TokenRequestStatus | [optional] |
from kubernetes.client.models.authentication_v1_token_request import AuthenticationV1TokenRequest
# TODO update the JSON string below
json = "{}"
# create an instance of AuthenticationV1TokenRequest from a JSON string
authentication_v1_token_request_instance = AuthenticationV1TokenRequest.from_json(json)
# print the JSON string representation of the object
print(AuthenticationV1TokenRequest.to_json())
# convert the object into a dict
authentication_v1_token_request_dict = authentication_v1_token_request_instance.to_dict()
# create an instance of AuthenticationV1TokenRequest from a dict
authentication_v1_token_request_from_dict = AuthenticationV1TokenRequest.from_dict(authentication_v1_token_request_dict)