Onepassword-sdk

Latest version: v0.1.4

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.1.4

The v0.1.4 release of the Python SDK brings:
* Support for validating secret references. You can now check that a secret reference is formatted correctly without having to resolve it or even authenticate, using the 'ValidateSecretReference' function.

0.1.3

The v0.1.3 release of the Python SDK brings:
* Support for item websites. You can now create, get, and edit websites within your 1Password items using item CRUD functions.

0.1.2

The v0.1.2 release of the Python SDK brings:
* Support for item tags. You can now create, get, and edit tags within your 1Password items using item CRUD functions.
* Support for fetching one-time password codes using secret references. You can now fetch your TOTP code with the `secrets.resolve` function, using a secret reference for the TOTP field in your item. For example: `op://vault/item/field?=attribute=totp`
* PyPI wheels for the Python SDK. You can now install the Python SDK via `pip install onepassword-sdk`
* Full support for optional values. You no longer have to manually set `details: None` or `section: None` when instantiating `ItemCreateParams`.
* Item creation now only requires specifying the vault ID, item category, and item title.

0.1.1

This is the v0 release of the 1Password Python SDK.

The 1Password Python SDK allows you to build secrets management integrations that can programmatically access secrets stored in 1Password. With this SDK, you can:

- [Securely load secrets](https://developer.1password.com/docs/sdks/load-secrets/) from 1Password into your code with secret references.
- [Read, write, and update secrets](https://developer.1password.com/docs/sdks/manage-items/) stored in 1Password, including passwords, API keys, and one-time passwords.
- [List items and vaults](https://developer.1password.com/docs/sdks/list-vaults-items/) in a 1Password account.

0.1.0beta.13

In this release:

* support for listing items and vaults is introduced
* a bug where concurrent item updates could lead to unexpected overwrites is fixed
* a bug where the SDK was priorly not working with service account tokens generated by the 1Password CLI is fixed
* a bug where the items created by the SDK priorly did not have the password strength set correctly is fixed

0.1.0beta.12

This release includes:

- Support for reading and writing OTP field information such as the TOTP code and seed, through the Item API.
- The `Update` operation is renamed to `Put` to create more realistic expectation with regard to the effect of the operation.
- The item creation operation now takes as input `ItemCreateParams`.
- Support for a few more field types: Phone, Url, CreditCardType.

**NOTE** This release contains breaking changes:


Wherever you were using

item = await client.items.update(item)

you must now use

item = await client.items.put(item)


and wherever you were using:

to_create = Item(
id="",
title="MyName",
category="Login",
vault_id="q73bqltug6xoegr3wkk2zkenoq",
fields=[],
sections=[])

item = await client.items.create(to_create)


you must now use

params = ItemCreateParams(
title="MyName",
category="Login",
vault_id="q73bqltug6xoegr3wkk2zkenoq",
fields=[],
sections=[])

item = await client.items.create(params)

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.