Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
- **Feature:** New enum type `RetentionMode`
- **Feature:** New field `object_lock_enabled` in `Bucket` model struct
- **Feature:** New API client methods: `create_compliance_lock`, `delete_compliance_lock`, `delete_default_retention`, `get_compliance_lock`, `get_credentials_group`, `get_default_retention`, `set_default_retention`
- `serviceaccount`: [v0.7.0](services/serviceaccount/CHANGELOG.md#v070)
- **Feature:** Add `token_endpoint` attribute to `CreateServiceAccountKeyResponseCredentials` model class
- `vpn`: [v0.1.0](services/vpn/CHANGELOG.md#v010)
- Initial publication of STACKIT Python SDK module for STACKIT VPN service

Expand Down
3 changes: 3 additions & 0 deletions services/serviceaccount/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## v0.7.0
- **Feature:** Add `token_endpoint` attribute to `CreateServiceAccountKeyResponseCredentials` model class

## v0.6.1
- **Feature:** client now supports UUID and decimal types
- **Bugfix:** timeouts now passed to requests library
Expand Down
2 changes: 1 addition & 1 deletion services/serviceaccount/oas_commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
f15f0e449d347f36dde5feac11c328b72d7f10dc
87a3ad63dec0a953ff5c6072ad9a15fddd8ec5f8
2 changes: 1 addition & 1 deletion services/serviceaccount/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "stackit-serviceaccount"
version = "v0.6.1"
version = "v0.7.0"
description = "Service Account API"
authors = [{ name = "STACKIT Developer Tools", email = "developer-tools@stackit.cloud" }]
requires-python = ">=3.9,<4.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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
Loading