quick update passwords docs (#2424)

This commit is contained in:
Shuchang Zheng
2025-05-21 22:29:11 -07:00
committed by GitHub
parent c5b76fa5a3
commit 74cd8f7b45
5 changed files with 43 additions and 43 deletions

View File

@@ -4,7 +4,7 @@ subtitle: How to manage credit cards in Skyvern
slug: credentials/credit-cards
---
## Manage credit cards in Skyvern Cloud
## Manage Credit Cards in Skyvern Cloud
You can go to [Skyvern's Credentials page](https://app.skyvern.com/credentials) to manage your credit cards.
@@ -22,7 +22,7 @@ Click the trash icon and confirm the deletion. If you do this, the credit card w
**Update a credit card credential:**
<Warning>Skyvern only supports adding and deleting credit cards. To update a credit card, you need to delete the existing credit card and create a new one.</Warning>
## Manage credit cards with Skyvern's API or SDK
## Manage Credit Cards with API & SDK
We also have [API and SDK](/api-reference/api-reference/credentials/create-credential) supports for credit card management:
**Create a new credit card credential:**
@@ -30,7 +30,7 @@ We also have [API and SDK](/api-reference/api-reference/credentials/create-crede
<CodeBlocks>
```python title="python"
from skyvern import Skyvern
skyvern = Skyvern(api_key="your_api_key")
skyvern = Skyvern(api_key="YOUR_API_KEY")
await skyvern.credentials.create_credential(
name="My Credit Card",
credential_type="credit_card",
@@ -70,7 +70,7 @@ curl -X POST https://api.skyvern.com/v1/credentials \
```python title="python"
from skyvern import Skyvern
skyvern = Skyvern(api_key="your_api_key")
skyvern = Skyvern(api_key="YOUR_API_KEY")
await skyvern.credentials.delete_credential(credential_id="cred_123456789")
```

View File

@@ -8,7 +8,7 @@ slug: credentials/passwords
You can store passwords information in Skyvern. Skyvern agent can use the stored password information to log into a website without sending your username or password to LLMs.
## Manage passwords in Skyvern Cloud
## Manage Passwords in Skyvern Cloud
You can go to [Skyvern's Credentials page](https://app.skyvern.com/credentials) to manage your passwords.
**Add a new password credential:**
@@ -26,7 +26,7 @@ Click the trash icon and confirm the deletion. If you do this, the password will
**Update a password credential:**
<Warning>Skyvern only allows adding and deleting passwords. If you would like to update a password, you need to delete the existing password and create a new one.</Warning>
## Manage passwords with Skyvern's API or SDK
## Manage Passwords with API & SDK
We also have [API and SDK](/api-reference/api-reference/credentials/create-credential) supports for password management:
**Create a new password credential:**
@@ -35,7 +35,7 @@ We also have [API and SDK](/api-reference/api-reference/credentials/create-crede
```python title="python"
from skyvern import Skyvern
skyvern = Skyvern(api_key="your_api_key")
skyvern = Skyvern(api_key="YOUR_API_KEY")
await skyvern.credentials.create_credential(
name="My Credential",
credential_type="password",
@@ -65,7 +65,7 @@ curl -X POST https://api.skyvern.com/v1/credentials \
```python title="python"
from skyvern import Skyvern
skyvern = Skyvern(api_key="your_api_key")
skyvern = Skyvern(api_key="YOUR_API_KEY")
await skyvern.credentials.delete_credential(credential_id="cred_123456789")
```