|
50 | 50 | apps, |
51 | 51 | auth, |
52 | 52 | proxies, |
| 53 | + api_keys, |
53 | 54 | browsers, |
54 | 55 | profiles, |
55 | 56 | projects, |
|
62 | 63 | ) |
63 | 64 | from .resources.apps import AppsResource, AsyncAppsResource |
64 | 65 | from .resources.proxies import ProxiesResource, AsyncProxiesResource |
| 66 | + from .resources.api_keys import APIKeysResource, AsyncAPIKeysResource |
65 | 67 | from .resources.profiles import ProfilesResource, AsyncProfilesResource |
66 | 68 | from .resources.auth.auth import AuthResource, AsyncAuthResource |
67 | 69 | from .resources.extensions import ExtensionsResource, AsyncExtensionsResource |
@@ -260,6 +262,13 @@ def projects(self) -> ProjectsResource: |
260 | 262 |
|
261 | 263 | return ProjectsResource(self) |
262 | 264 |
|
| 265 | + @cached_property |
| 266 | + def api_keys(self) -> APIKeysResource: |
| 267 | + """Create and manage API keys for organization and project-scoped access.""" |
| 268 | + from .resources.api_keys import APIKeysResource |
| 269 | + |
| 270 | + return APIKeysResource(self) |
| 271 | + |
263 | 272 | @cached_property |
264 | 273 | def credential_providers(self) -> CredentialProvidersResource: |
265 | 274 | """Configure external credential providers like 1Password.""" |
@@ -584,6 +593,13 @@ def projects(self) -> AsyncProjectsResource: |
584 | 593 |
|
585 | 594 | return AsyncProjectsResource(self) |
586 | 595 |
|
| 596 | + @cached_property |
| 597 | + def api_keys(self) -> AsyncAPIKeysResource: |
| 598 | + """Create and manage API keys for organization and project-scoped access.""" |
| 599 | + from .resources.api_keys import AsyncAPIKeysResource |
| 600 | + |
| 601 | + return AsyncAPIKeysResource(self) |
| 602 | + |
587 | 603 | @cached_property |
588 | 604 | def credential_providers(self) -> AsyncCredentialProvidersResource: |
589 | 605 | """Configure external credential providers like 1Password.""" |
@@ -821,6 +837,13 @@ def projects(self) -> projects.ProjectsResourceWithRawResponse: |
821 | 837 |
|
822 | 838 | return ProjectsResourceWithRawResponse(self._client.projects) |
823 | 839 |
|
| 840 | + @cached_property |
| 841 | + def api_keys(self) -> api_keys.APIKeysResourceWithRawResponse: |
| 842 | + """Create and manage API keys for organization and project-scoped access.""" |
| 843 | + from .resources.api_keys import APIKeysResourceWithRawResponse |
| 844 | + |
| 845 | + return APIKeysResourceWithRawResponse(self._client.api_keys) |
| 846 | + |
824 | 847 | @cached_property |
825 | 848 | def credential_providers(self) -> credential_providers.CredentialProvidersResourceWithRawResponse: |
826 | 849 | """Configure external credential providers like 1Password.""" |
@@ -911,6 +934,13 @@ def projects(self) -> projects.AsyncProjectsResourceWithRawResponse: |
911 | 934 |
|
912 | 935 | return AsyncProjectsResourceWithRawResponse(self._client.projects) |
913 | 936 |
|
| 937 | + @cached_property |
| 938 | + def api_keys(self) -> api_keys.AsyncAPIKeysResourceWithRawResponse: |
| 939 | + """Create and manage API keys for organization and project-scoped access.""" |
| 940 | + from .resources.api_keys import AsyncAPIKeysResourceWithRawResponse |
| 941 | + |
| 942 | + return AsyncAPIKeysResourceWithRawResponse(self._client.api_keys) |
| 943 | + |
914 | 944 | @cached_property |
915 | 945 | def credential_providers(self) -> credential_providers.AsyncCredentialProvidersResourceWithRawResponse: |
916 | 946 | """Configure external credential providers like 1Password.""" |
@@ -1001,6 +1031,13 @@ def projects(self) -> projects.ProjectsResourceWithStreamingResponse: |
1001 | 1031 |
|
1002 | 1032 | return ProjectsResourceWithStreamingResponse(self._client.projects) |
1003 | 1033 |
|
| 1034 | + @cached_property |
| 1035 | + def api_keys(self) -> api_keys.APIKeysResourceWithStreamingResponse: |
| 1036 | + """Create and manage API keys for organization and project-scoped access.""" |
| 1037 | + from .resources.api_keys import APIKeysResourceWithStreamingResponse |
| 1038 | + |
| 1039 | + return APIKeysResourceWithStreamingResponse(self._client.api_keys) |
| 1040 | + |
1004 | 1041 | @cached_property |
1005 | 1042 | def credential_providers(self) -> credential_providers.CredentialProvidersResourceWithStreamingResponse: |
1006 | 1043 | """Configure external credential providers like 1Password.""" |
@@ -1091,6 +1128,13 @@ def projects(self) -> projects.AsyncProjectsResourceWithStreamingResponse: |
1091 | 1128 |
|
1092 | 1129 | return AsyncProjectsResourceWithStreamingResponse(self._client.projects) |
1093 | 1130 |
|
| 1131 | + @cached_property |
| 1132 | + def api_keys(self) -> api_keys.AsyncAPIKeysResourceWithStreamingResponse: |
| 1133 | + """Create and manage API keys for organization and project-scoped access.""" |
| 1134 | + from .resources.api_keys import AsyncAPIKeysResourceWithStreamingResponse |
| 1135 | + |
| 1136 | + return AsyncAPIKeysResourceWithStreamingResponse(self._client.api_keys) |
| 1137 | + |
1094 | 1138 | @cached_property |
1095 | 1139 | def credential_providers(self) -> credential_providers.AsyncCredentialProvidersResourceWithStreamingResponse: |
1096 | 1140 | """Configure external credential providers like 1Password.""" |
|
0 commit comments