Skip to content

Commit 9afea91

Browse files
Generate serviceaccount
1 parent 628cb49 commit 9afea91

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-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+
1c36f3781c31a0e21c4588c7c4ec835d477d2f21

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@ 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: StrictStr = Field(
40+
description="Endpoint used to obtain access tokens for the service account.", alias="tokenEndpoint"
41+
)
42+
__properties: ClassVar[List[str]] = ["aud", "iss", "kid", "privateKey", "sub", "tokenEndpoint"]
4043

4144
model_config = ConfigDict(
4245
populate_by_name=True,
@@ -93,6 +96,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
9396
"kid": obj.get("kid"),
9497
"privateKey": obj.get("privateKey"),
9598
"sub": obj.get("sub"),
99+
"tokenEndpoint": obj.get("tokenEndpoint"),
96100
}
97101
)
98102
return _obj

0 commit comments

Comments
 (0)