Skip to content

Commit 69b1d5b

Browse files
Generate serviceaccount
1 parent 628cb49 commit 69b1d5b

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

services/serviceaccount/oas_commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
f15f0e449d347f36dde5feac11c328b72d7f10dc
1+
87a3ad63dec0a953ff5c6072ad9a15fddd8ec5f8

services/serviceaccount/src/stackit/serviceaccount/models/create_service_account_key_response_credentials.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,12 @@ class CreateServiceAccountKeyResponseCredentials(BaseModel):
3636
alias="privateKey",
3737
)
3838
sub: UUID = Field(description="Service account id")
39-
__properties: ClassVar[List[str]] = ["aud", "iss", "kid", "privateKey", "sub"]
39+
token_endpoint: Optional[StrictStr] = Field(
40+
default=None,
41+
description="Endpoint used to obtain access tokens for the service account.",
42+
alias="tokenEndpoint",
43+
)
44+
__properties: ClassVar[List[str]] = ["aud", "iss", "kid", "privateKey", "sub", "tokenEndpoint"]
4045

4146
model_config = ConfigDict(
4247
populate_by_name=True,
@@ -93,6 +98,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
9398
"kid": obj.get("kid"),
9499
"privateKey": obj.get("privateKey"),
95100
"sub": obj.get("sub"),
101+
"tokenEndpoint": obj.get("tokenEndpoint"),
96102
}
97103
)
98104
return _obj

0 commit comments

Comments
 (0)