diff --git a/services/serviceaccount/oas_commit b/services/serviceaccount/oas_commit index 3423bbfe..e86c7db2 100644 --- a/services/serviceaccount/oas_commit +++ b/services/serviceaccount/oas_commit @@ -1 +1 @@ -f15f0e449d347f36dde5feac11c328b72d7f10dc +9356c10747db357b4ec533ec97231f1af5530ca0 diff --git a/services/serviceaccount/src/stackit/serviceaccount/models/create_service_account_key_response_credentials.py b/services/serviceaccount/src/stackit/serviceaccount/models/create_service_account_key_response_credentials.py index f6e9f665..9ae869b1 100644 --- a/services/serviceaccount/src/stackit/serviceaccount/models/create_service_account_key_response_credentials.py +++ b/services/serviceaccount/src/stackit/serviceaccount/models/create_service_account_key_response_credentials.py @@ -36,7 +36,12 @@ class CreateServiceAccountKeyResponseCredentials(BaseModel): alias="privateKey", ) sub: UUID = Field(description="Service account id") - __properties: ClassVar[List[str]] = ["aud", "iss", "kid", "privateKey", "sub"] + token_endpoint: Optional[StrictStr] = Field( + default=None, + description="Endpoint used to obtain access tokens for the service account.", + alias="tokenEndpoint", + ) + __properties: ClassVar[List[str]] = ["aud", "iss", "kid", "privateKey", "sub", "tokenEndpoint"] model_config = ConfigDict( populate_by_name=True, @@ -93,6 +98,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "kid": obj.get("kid"), "privateKey": obj.get("privateKey"), "sub": obj.get("sub"), + "tokenEndpoint": obj.get("tokenEndpoint"), } ) return _obj