stackit-serviceaccount 0.0.1a0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- stackit/serviceaccount/__init__.py +85 -0
- stackit/serviceaccount/api/__init__.py +4 -0
- stackit/serviceaccount/api/default_api.py +3553 -0
- stackit/serviceaccount/api_client.py +626 -0
- stackit/serviceaccount/api_response.py +23 -0
- stackit/serviceaccount/configuration.py +110 -0
- stackit/serviceaccount/exceptions.py +198 -0
- stackit/serviceaccount/models/__init__.py +66 -0
- stackit/serviceaccount/models/access_token.py +99 -0
- stackit/serviceaccount/models/access_token_metadata.py +97 -0
- stackit/serviceaccount/models/auth_error.py +88 -0
- stackit/serviceaccount/models/auth_error_error.py +83 -0
- stackit/serviceaccount/models/create_access_token_payload.py +83 -0
- stackit/serviceaccount/models/create_service_account_key_payload.py +91 -0
- stackit/serviceaccount/models/create_service_account_key_response.py +155 -0
- stackit/serviceaccount/models/create_service_account_key_response_credentials.py +97 -0
- stackit/serviceaccount/models/create_service_account_payload.py +91 -0
- stackit/serviceaccount/models/create_short_lived_access_token_response.py +102 -0
- stackit/serviceaccount/models/error.py +94 -0
- stackit/serviceaccount/models/get_service_account_key_response.py +155 -0
- stackit/serviceaccount/models/get_service_account_key_response_credentials.py +86 -0
- stackit/serviceaccount/models/jwk.py +105 -0
- stackit/serviceaccount/models/jwks.py +92 -0
- stackit/serviceaccount/models/list_access_tokens_response.py +98 -0
- stackit/serviceaccount/models/list_service_account_keys_response.py +100 -0
- stackit/serviceaccount/models/list_service_accounts_response.py +98 -0
- stackit/serviceaccount/models/partial_update_service_account_key_payload.py +89 -0
- stackit/serviceaccount/models/partial_update_service_account_key_response.py +136 -0
- stackit/serviceaccount/models/service_account.py +95 -0
- stackit/serviceaccount/models/service_account_key_list_response.py +136 -0
- stackit/serviceaccount/py.typed +0 -0
- stackit/serviceaccount/rest.py +148 -0
- stackit_serviceaccount-0.0.1a0.dist-info/METADATA +97 -0
- stackit_serviceaccount-0.0.1a0.dist-info/RECORD +35 -0
- stackit_serviceaccount-0.0.1a0.dist-info/WHEEL +4 -0
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
# flake8: noqa
|
|
4
|
+
|
|
5
|
+
"""
|
|
6
|
+
Service Account API
|
|
7
|
+
|
|
8
|
+
API to manage Service Accounts and their Access Tokens. ### System for Cross-domain Identity Management (SCIM) Service Account Service offers SCIM APIs to query state. The SCIM protocol was created as standard for automating the exchange of user identity information between identity domains, or IT systems. Service accounts are be handled as indentites similar to SCIM users. A custom SCIM schema has been created: `/ServiceAccounts` #### Syntax ##### Attribute operators | OPERATOR | DESCRIPTION | |----------|--------------------------| | eq | equal | | ne | not equal | | co | contains | | sw | starts with | | ew | ends with | ##### Logical operators | OPERATOR | DESCRIPTION | |----------|--------------------------| | and | logical \"and\" | | or | logical \"or\" | ##### Grouping operators | OPERATOR | DESCRIPTION | |----------|--------------------------| | () | precending grouping | ##### Example ``` filter=email eq \"my-service-account-aBc2defg@sa.stackit.cloud\" filter=email ne \"my-service-account-aBc2defg@sa.stackit.cloud\" filter=email co \"my-service-account\" filter=name sw \"my\" filter=name ew \"account\" filter=email co \"my-service-account\" and name sw \"my\" filter=email co \"my-service-account\" and (name sw \"my\" or name ew \"account\") ``` #### Sorting > Sorting is optional | PARAMETER | DESCRIPTION | |-----------|--------------------------------------| | sortBy | attribute response is ordered by | | sortOrder | 'ASCENDING' (default) or 'DESCENDING'| #### Pagination | PARAMETER | DESCRIPTION | |--------------|----------------------------------------------| | startIndex | index of first query result, default: 1 | | count | maximum number of query results, default: 100|
|
|
9
|
+
|
|
10
|
+
The version of the OpenAPI document: 2.0
|
|
11
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
12
|
+
|
|
13
|
+
Do not edit the class manually.
|
|
14
|
+
""" # noqa: E501 docstring might be too long
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
__version__ = "1.0.0"
|
|
18
|
+
|
|
19
|
+
# import apis into sdk package
|
|
20
|
+
from stackit.serviceaccount.api.default_api import DefaultApi
|
|
21
|
+
from stackit.serviceaccount.api_client import ApiClient
|
|
22
|
+
|
|
23
|
+
# import ApiClient
|
|
24
|
+
from stackit.serviceaccount.api_response import ApiResponse
|
|
25
|
+
from stackit.serviceaccount.configuration import HostConfiguration
|
|
26
|
+
from stackit.serviceaccount.exceptions import (
|
|
27
|
+
ApiAttributeError,
|
|
28
|
+
ApiException,
|
|
29
|
+
ApiKeyError,
|
|
30
|
+
ApiTypeError,
|
|
31
|
+
ApiValueError,
|
|
32
|
+
OpenApiException,
|
|
33
|
+
)
|
|
34
|
+
|
|
35
|
+
# import models into sdk package
|
|
36
|
+
from stackit.serviceaccount.models.access_token import AccessToken
|
|
37
|
+
from stackit.serviceaccount.models.access_token_metadata import AccessTokenMetadata
|
|
38
|
+
from stackit.serviceaccount.models.auth_error import AuthError
|
|
39
|
+
from stackit.serviceaccount.models.auth_error_error import AuthErrorError
|
|
40
|
+
from stackit.serviceaccount.models.create_access_token_payload import (
|
|
41
|
+
CreateAccessTokenPayload,
|
|
42
|
+
)
|
|
43
|
+
from stackit.serviceaccount.models.create_service_account_key_payload import (
|
|
44
|
+
CreateServiceAccountKeyPayload,
|
|
45
|
+
)
|
|
46
|
+
from stackit.serviceaccount.models.create_service_account_key_response import (
|
|
47
|
+
CreateServiceAccountKeyResponse,
|
|
48
|
+
)
|
|
49
|
+
from stackit.serviceaccount.models.create_service_account_key_response_credentials import (
|
|
50
|
+
CreateServiceAccountKeyResponseCredentials,
|
|
51
|
+
)
|
|
52
|
+
from stackit.serviceaccount.models.create_service_account_payload import (
|
|
53
|
+
CreateServiceAccountPayload,
|
|
54
|
+
)
|
|
55
|
+
from stackit.serviceaccount.models.create_short_lived_access_token_response import (
|
|
56
|
+
CreateShortLivedAccessTokenResponse,
|
|
57
|
+
)
|
|
58
|
+
from stackit.serviceaccount.models.error import Error
|
|
59
|
+
from stackit.serviceaccount.models.get_service_account_key_response import (
|
|
60
|
+
GetServiceAccountKeyResponse,
|
|
61
|
+
)
|
|
62
|
+
from stackit.serviceaccount.models.get_service_account_key_response_credentials import (
|
|
63
|
+
GetServiceAccountKeyResponseCredentials,
|
|
64
|
+
)
|
|
65
|
+
from stackit.serviceaccount.models.jwk import JWK
|
|
66
|
+
from stackit.serviceaccount.models.jwks import JWKS
|
|
67
|
+
from stackit.serviceaccount.models.list_access_tokens_response import (
|
|
68
|
+
ListAccessTokensResponse,
|
|
69
|
+
)
|
|
70
|
+
from stackit.serviceaccount.models.list_service_account_keys_response import (
|
|
71
|
+
ListServiceAccountKeysResponse,
|
|
72
|
+
)
|
|
73
|
+
from stackit.serviceaccount.models.list_service_accounts_response import (
|
|
74
|
+
ListServiceAccountsResponse,
|
|
75
|
+
)
|
|
76
|
+
from stackit.serviceaccount.models.partial_update_service_account_key_payload import (
|
|
77
|
+
PartialUpdateServiceAccountKeyPayload,
|
|
78
|
+
)
|
|
79
|
+
from stackit.serviceaccount.models.partial_update_service_account_key_response import (
|
|
80
|
+
PartialUpdateServiceAccountKeyResponse,
|
|
81
|
+
)
|
|
82
|
+
from stackit.serviceaccount.models.service_account import ServiceAccount
|
|
83
|
+
from stackit.serviceaccount.models.service_account_key_list_response import (
|
|
84
|
+
ServiceAccountKeyListResponse,
|
|
85
|
+
)
|