Master-Passwörter
Bereichsgebundene Master-Passwörter erstellen, auflisten, umbenennen und löschen. Die Beispiele verwenden den A2A-Code-Modus. MCP stellt denselben Code-Modus über sein Toolexecute bereit.
Funktionen
credentials.add
credentials.add.
| Eigenschaft | Wert | Eigenschaft | Wert |
|---|---|---|---|
| Erforderliche Berechtigung | credential.manage | Authentifizierung erforderlich | ja |
| Ausführungsmodus | sync | Fähigkeit | credential.manage |
| Ressourcentyp | account | Ressourcen-ID-Feld | account_id |
| Öffentliche API-Route | POST /v1/public/accounts/{account_id}/credentials |
Argumente
Argumente
| Name | Typ | Erforderlich |
|---|---|---|
account_id | str | ja |
name | str | ja |
domain | str | null | nein |
generate | bool | nein |
value | str | null | nein |
workspace_id | str | null | nein |
Rückgabe
Rückgabe
| Feld | Typ | Erforderlich |
|---|---|---|
created_at | str | ja |
id | str | ja |
name | str | ja |
scope_id | str | ja |
scope_type | "account" | "workspace" | "domain" | ja |
updated_at | str | ja |
generated_secret | str | null | nein |
A2A-Beispiel
A2A-Beispiel
Anfrage:Antwort:
MCP-Beispiel
MCP-Beispiel
Anfrage:Antwort:
credentials.delete
credentials.delete.
| Eigenschaft | Wert | Eigenschaft | Wert |
|---|---|---|---|
| Erforderliche Berechtigung | credential.manage | Authentifizierung erforderlich | ja |
| Ausführungsmodus | sync | Fähigkeit | credential.manage |
| Ressourcentyp | account | Ressourcen-ID-Feld | account_id |
| Öffentliche API-Route | DELETE /v1/public/accounts/{account_id}/credentials/{credential_id} |
Argumente
Argumente
| Name | Typ | Erforderlich |
|---|---|---|
account_id | str | ja |
credential_id | str | ja |
Rückgabe
Rückgabe
| Feld | Typ | Erforderlich |
|---|---|---|
result | {} | ja |
A2A-Beispiel
A2A-Beispiel
Anfrage:Antwort:
MCP-Beispiel
MCP-Beispiel
Anfrage:Antwort:
credentials.list
credentials.list.
| Eigenschaft | Wert | Eigenschaft | Wert |
|---|---|---|---|
| Erforderliche Berechtigung | credential.view | Authentifizierung erforderlich | ja |
| Ausführungsmodus | sync | Fähigkeit | credential.view |
| Ressourcentyp | account | Ressourcen-ID-Feld | account_id |
| Öffentliche API-Route | GET /v1/public/accounts/{account_id}/credentials |
Argumente
Argumente
| Name | Typ | Erforderlich |
|---|---|---|
account_id | str | ja |
page | int | nein |
page_size | int | nein |
Rückgabe
Rückgabe
| Feld | Typ | Erforderlich |
|---|---|---|
items | [{"created_at": str, "id": str, "name": str, "scope_id": str, "scope_type": "account" | "workspace" | "domain", "updated_at": str}] | ja |
page | int | ja |
page_size | int | ja |
total | int | ja |
A2A-Beispiel
A2A-Beispiel
Anfrage:Antwort:
MCP-Beispiel
MCP-Beispiel
Anfrage:Antwort:
credentials.update
credentials.update.
| Eigenschaft | Wert | Eigenschaft | Wert |
|---|---|---|---|
| Erforderliche Berechtigung | credential.manage | Authentifizierung erforderlich | ja |
| Ausführungsmodus | sync | Fähigkeit | credential.manage |
| Ressourcentyp | account | Ressourcen-ID-Feld | account_id |
| Öffentliche API-Route | PATCH /v1/public/accounts/{account_id}/credentials/{credential_id} |
Argumente
Argumente
| Name | Typ | Erforderlich |
|---|---|---|
account_id | str | ja |
credential_id | str | ja |
name | str | ja |
Rückgabe
Rückgabe
| Feld | Typ | Erforderlich |
|---|---|---|
created_at | str | ja |
id | str | ja |
name | str | ja |
scope_id | str | ja |
scope_type | "account" | "workspace" | "domain" | ja |
updated_at | str | ja |
A2A-Beispiel
A2A-Beispiel
Anfrage:Antwort:
MCP-Beispiel
MCP-Beispiel
Anfrage:Antwort: