Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.39 KB

File metadata and controls

29 lines (22 loc) · 1.39 KB

StorageV1TokenRequest

TokenRequest contains parameters of a service account token.

Properties

Name Type Description Notes
audience str audience is the intended audience of the token in "TokenRequestSpec". It will default to the audiences of kube apiserver.
expiration_seconds int expirationSeconds is the duration of validity of the token in "TokenRequestSpec". It has the same default value of "ExpirationSeconds" in "TokenRequestSpec". [optional]

Example

from kubernetes.client.models.storage_v1_token_request import StorageV1TokenRequest

# TODO update the JSON string below
json = "{}"
# create an instance of StorageV1TokenRequest from a JSON string
storage_v1_token_request_instance = StorageV1TokenRequest.from_json(json)
# print the JSON string representation of the object
print(StorageV1TokenRequest.to_json())

# convert the object into a dict
storage_v1_token_request_dict = storage_v1_token_request_instance.to_dict()
# create an instance of StorageV1TokenRequest from a dict
storage_v1_token_request_from_dict = StorageV1TokenRequest.from_dict(storage_v1_token_request_dict)

[Back to Model list] [Back to API list] [Back to README]