Skip to content

Commit d540eba

Browse files
committed
Update README to simplify service account instructions
1 parent b3d4a97 commit d540eba

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,8 @@
1616

1717
The 1Password Python SDK offers programmatic access to your secrets in 1Password with Python. During the beta, you can create, retrieve, update, and delete items and resolve secret references.
1818

19-
## 🔑 Authentication
19+
1Password SDKs support authentication with [1Password Service Accounts](https://developer.1password.com/docs/service-accounts/get-started/).
2020

21-
1Password SDKs support authentication with [1Password Service Accounts](https://developer.1password.com/docs/service-accounts/get-started/). You can create service accounts if you're an owner or administrator on your team. Otherwise, ask your administrator for a service account token.
22-
23-
Before you get started, [create a service account](https://developer.1password.com/docs/service-accounts/get-started/#create-a-service-account) and give it the appropriate permissions in the vaults where the items you want to use with the SDK are saved.
2421

2522
## ❗ Limitations
2623

@@ -34,7 +31,8 @@ When managing items with 1Password SDKs, you must use [unique identifiers (IDs)]
3431

3532
To use the 1Password Python SDK in your project:
3633

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:
34+
1. [Create a service account](https://my.1password.com/developer-tools/infrastructure-secrets/serviceaccount/) and give it the appropriate permissions in the vaults where the items you want to use with the SDK are saved.
35+
2. Provision your service account token. We recommend provisioning your token from the environment. For example, to export your token to the `OP_SERVICE_ACCOUNT_TOKEN` environment variable:
3836

3937
**macOS or Linux**
4038

@@ -48,13 +46,13 @@ To use the 1Password Python SDK in your project:
4846
$Env:OP_SERVICE_ACCOUNT_TOKEN = "<your-service-account-token>"
4947
```
5048

51-
2. Install the 1Password Python SDK in your project:
49+
3. Install the 1Password Python SDK in your project:
5250

5351
```bash
5452
pip install git+ssh://[email protected]/1Password/[email protected]
5553
```
5654

57-
3. Use the Python SDK in your project:
55+
4. Use the Python SDK in your project:
5856

5957
```python
6058
import asyncio

0 commit comments

Comments
 (0)