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
Added example README. Edited example.py to resolve secret reference with parameters of created item. example.py reads vault id from env var. Call to run example.py added to pipeline
This folder contains a code snippet that demonstrates how to use the 1Password Python SDK to retrieve a secret from 1Password and export it as an environment variable.
4
+
5
+
## Prerequisites
6
+
7
+
1. Clone the repository and follow the steps to [get started](https://github.com/1Password/onepassword-sdk-python/blob/main/README.md).
8
+
2. Make sure to export a valid service account token. For example:
9
+
```bash
10
+
export OP_SERVICE_ACCOUNT_TOKEN="<your token>"
11
+
```
12
+
3. Make sure to export a valid vault uuid. For example:
0 commit comments