connect-sdk-python
connect-sdk-python copied to clipboard
Python SDK for 1Password Connect
### Summary The one connect python SDK does not currently allow for self-signed certificates to be authenticated when creating a new client, these will always fail. ### Use cases Self-signed...
This PR aims to improve the constructor for new clients. I've removed all code related to AsyncClient from client.py, and allowed you to directly make AsyncClient. This does mean it's...
This change makes it possible to use `new_client_from_enviroment()` and still select between async and sync clients based on the current codebase. The change includes the type hints needed for type...
### Summary Allow the program to decide on async vs sync client use when loading the credentials from the environment. ### Use cases Whether or not an async client is...
The [docstring for `client.new_client_from_environment()`](https://github.com/1Password/connect-sdk-python/blob/5f8ffd8c562a95cb889824e59a1644c3c2675aaf/src/onepasswordconnectsdk/client.py#L398-L408) states it takes a `token` argument: ``` Parameters: url: The url of the 1Password Connect API token: The 1Password Service Account token ``` but there is...
Mention in the readme that the sdk supports [those async envs](https://www.python-httpx.org/async/#supported-async-environments)
## What happened? `get_item` fails if pass item title of 26 characters in length. ``` if is_valid_uuid(item): return self.get_item_by_id(item, vault_id) else: return self.get_item_by_title(item, vault_id) ``` ## What did you expect...
### Summary It would be nice if this SDK supports authenticating with the new Service Accounts feature https://developer.1password.com/docs/service-accounts/. ### Use cases I use Pyinfra and Pulumi to manage infrastructure and...
### Your environment SDK Version: 1.3.0 Connect Server Version:1.6.1 OS: Windows, Mac Python Version: 3.10.10 ## What happened? Updating an item field with purpose throw error while removing purpose will...
SSLError
### Your environment SDK Version: 1.3.0 Connect Server Version: 1.5.7 OS: macOS Ventura Python Version: 3.9 ## What happened? I was doing some update operations through my connect server but...