You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -28,31 +28,31 @@ Before you get started, [create a service account](https://developer.1password.c
28
28
29
29
1Password SDKs don't yet support using secret references with query parameters, so you can't retrieve file attachments or SSH keys, or get more information about field metadata.
30
30
31
-
When managing items with 1Password SDKs, you must use [unique identifiers (IDs)](https://developer.1password.com/docs/sdks/concepts#unique-identifiers-ids) in place of vault, item, and field names.
31
+
When managing items with 1Password SDKs, you must use unique identifiers (IDs) in place of vault, item, and field names.
32
32
33
33
## 🚀 Get started
34
34
35
35
To use the 1Password Python SDK in your project:
36
36
37
37
1. Provision your [service account](#authentication) token. We recommend provisioning your token from the environment. For example, to export your token to the `OP_SERVICE_ACCOUNT_TOKEN` environment variable:
# Retrieves a secret from 1Password. Takes a secret reference as input and returns the secret to which it points.
72
72
value =await client.secrets.resolve("op://vault/item/field")
73
73
# use value here
@@ -79,12 +79,4 @@ if __name__ == '__main__':
79
79
80
80
Make sure to use [secret reference URIs](https://developer.1password.com/docs/cli/secrets-reference-syntax/) with the syntax `op://vault/item/field` to securely load secrets from 1Password into your code.
81
81
82
-
Inside ```Client.authenticate(...)```, set```integration_name``` to the name of your application and ```integration_version``` to the version of your application.
83
-
84
-
## 📖 Learn more
85
-
86
-
- [Load secrets with 1Password SDKs](https://developer.1password.com/docs/sdks/load-secrets)
87
-
- [Manage items with 1Password SDKs](https://developer.1password.com/docs/sdks/manage-items)
Inside `Client.authenticate(...)`, set `integration_name` to the name of your application and `integration_version` to the version of your application.
0 commit comments