mirror of
https://github.com/simstudioai/sim.git
synced 2026-02-11 23:14:58 -05:00
update 1password to support cloud & locally hosted
This commit is contained in:
@@ -313,45 +313,7 @@ Retrieve multiple Jira issues from a project in bulk
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ---- | ----------- |
|
||||
| `ts` | string | ISO 8601 timestamp of the operation |
|
||||
| `total` | number | Total number of issues in the project |
|
||||
| `issues` | array | Array of Jira issues |
|
||||
| ↳ `id` | string | Issue ID |
|
||||
| ↳ `key` | string | Issue key \(e.g., PROJ-123\) |
|
||||
| ↳ `self` | string | REST API URL for this issue |
|
||||
| ↳ `summary` | string | Issue summary |
|
||||
| ↳ `description` | string | Issue description text |
|
||||
| ↳ `status` | object | Issue status |
|
||||
| ↳ `id` | string | Status ID |
|
||||
| ↳ `name` | string | Status name |
|
||||
| ↳ `issuetype` | object | Issue type |
|
||||
| ↳ `id` | string | Issue type ID |
|
||||
| ↳ `name` | string | Issue type name |
|
||||
| ↳ `priority` | object | Issue priority |
|
||||
| ↳ `id` | string | Priority ID |
|
||||
| ↳ `name` | string | Priority name |
|
||||
| ↳ `assignee` | object | Assigned user |
|
||||
| ↳ `accountId` | string | Atlassian account ID |
|
||||
| ↳ `displayName` | string | Display name |
|
||||
| ↳ `created` | string | ISO 8601 creation timestamp |
|
||||
| ↳ `updated` | string | ISO 8601 last updated timestamp |
|
||||
|
||||
### `jira_bulk_read`
|
||||
|
||||
Retrieve multiple Jira issues from a project in bulk with cursor-based pagination (V2 - uses nextPageToken)
|
||||
|
||||
#### Input
|
||||
|
||||
| Parameter | Type | Required | Description |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `domain` | string | Yes | Your Jira domain \(e.g., yourcompany.atlassian.net\) |
|
||||
| `projectId` | string | Yes | Jira project key \(e.g., PROJ\) |
|
||||
| `cloudId` | string | No | Jira Cloud ID for the instance. If not provided, it will be fetched using the domain. |
|
||||
|
||||
#### Output
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ---- | ----------- |
|
||||
| `ts` | string | ISO 8601 timestamp of the operation |
|
||||
| `total` | number | Total number of issues in the project \(may not always be available\) |
|
||||
| `issues` | array | Array of Jira issues |
|
||||
| ↳ `id` | string | Issue ID |
|
||||
| ↳ `key` | string | Issue key \(e.g., PROJ-123\) |
|
||||
@@ -374,7 +336,6 @@ Retrieve multiple Jira issues from a project in bulk with cursor-based paginatio
|
||||
| ↳ `updated` | string | ISO 8601 last updated timestamp |
|
||||
| `nextPageToken` | string | Cursor token for the next page. Null when no more results. |
|
||||
| `isLast` | boolean | Whether this is the last page of results |
|
||||
| `total` | number | Total number of issues in the project \(may not always be available\) |
|
||||
|
||||
### `jira_delete_issue`
|
||||
|
||||
@@ -454,90 +415,8 @@ Search for Jira issues using JQL (Jira Query Language)
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `domain` | string | Yes | Your Jira domain \(e.g., yourcompany.atlassian.net\) |
|
||||
| `jql` | string | Yes | JQL query string to search for issues \(e.g., "project = PROJ AND status = Open"\) |
|
||||
| `startAt` | number | No | The index of the first result to return \(for pagination\) |
|
||||
| `maxResults` | number | No | Maximum number of results to return \(default: 50\) |
|
||||
| `fields` | array | No | Array of field names to return \(default: all navigable\). Use "*all" for every field. |
|
||||
| `cloudId` | string | No | Jira Cloud ID for the instance. If not provided, it will be fetched using the domain. |
|
||||
|
||||
#### Output
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ---- | ----------- |
|
||||
| `ts` | string | ISO 8601 timestamp of the operation |
|
||||
| `total` | number | Total number of matching issues |
|
||||
| `startAt` | number | Pagination start index |
|
||||
| `maxResults` | number | Maximum results per page |
|
||||
| `issues` | array | Array of matching issues |
|
||||
| ↳ `id` | string | Issue ID |
|
||||
| ↳ `key` | string | Issue key \(e.g., PROJ-123\) |
|
||||
| ↳ `self` | string | REST API URL for this issue |
|
||||
| ↳ `summary` | string | Issue summary |
|
||||
| ↳ `description` | string | Issue description text \(extracted from ADF\) |
|
||||
| ↳ `status` | object | Issue status |
|
||||
| ↳ `id` | string | Status ID |
|
||||
| ↳ `name` | string | Status name \(e.g., Open, In Progress, Done\) |
|
||||
| ↳ `description` | string | Status description |
|
||||
| ↳ `statusCategory` | object | Status category grouping |
|
||||
| ↳ `id` | number | Status category ID |
|
||||
| ↳ `key` | string | Status category key \(e.g., new, indeterminate, done\) |
|
||||
| ↳ `name` | string | Status category name \(e.g., To Do, In Progress, Done\) |
|
||||
| ↳ `colorName` | string | Status category color \(e.g., blue-gray, yellow, green\) |
|
||||
| ↳ `issuetype` | object | Issue type |
|
||||
| ↳ `id` | string | Issue type ID |
|
||||
| ↳ `name` | string | Issue type name \(e.g., Task, Bug, Story, Epic\) |
|
||||
| ↳ `description` | string | Issue type description |
|
||||
| ↳ `subtask` | boolean | Whether this is a subtask type |
|
||||
| ↳ `iconUrl` | string | URL to the issue type icon |
|
||||
| ↳ `project` | object | Project the issue belongs to |
|
||||
| ↳ `id` | string | Project ID |
|
||||
| ↳ `key` | string | Project key \(e.g., PROJ\) |
|
||||
| ↳ `name` | string | Project name |
|
||||
| ↳ `projectTypeKey` | string | Project type key \(e.g., software, business\) |
|
||||
| ↳ `priority` | object | Issue priority |
|
||||
| ↳ `id` | string | Priority ID |
|
||||
| ↳ `name` | string | Priority name \(e.g., Highest, High, Medium, Low, Lowest\) |
|
||||
| ↳ `iconUrl` | string | URL to the priority icon |
|
||||
| ↳ `assignee` | object | Assigned user |
|
||||
| ↳ `accountId` | string | Atlassian account ID of the user |
|
||||
| ↳ `displayName` | string | Display name of the user |
|
||||
| ↳ `active` | boolean | Whether the user account is active |
|
||||
| ↳ `emailAddress` | string | Email address of the user |
|
||||
| ↳ `accountType` | string | Type of account \(e.g., atlassian, app, customer\) |
|
||||
| ↳ `avatarUrl` | string | URL to the user avatar \(48x48\) |
|
||||
| ↳ `timeZone` | string | User timezone |
|
||||
| ↳ `reporter` | object | Reporter user |
|
||||
| ↳ `accountId` | string | Atlassian account ID of the user |
|
||||
| ↳ `displayName` | string | Display name of the user |
|
||||
| ↳ `active` | boolean | Whether the user account is active |
|
||||
| ↳ `emailAddress` | string | Email address of the user |
|
||||
| ↳ `accountType` | string | Type of account \(e.g., atlassian, app, customer\) |
|
||||
| ↳ `avatarUrl` | string | URL to the user avatar \(48x48\) |
|
||||
| ↳ `timeZone` | string | User timezone |
|
||||
| ↳ `labels` | array | Issue labels |
|
||||
| ↳ `components` | array | Issue components |
|
||||
| ↳ `id` | string | Component ID |
|
||||
| ↳ `name` | string | Component name |
|
||||
| ↳ `description` | string | Component description |
|
||||
| ↳ `resolution` | object | Issue resolution |
|
||||
| ↳ `id` | string | Resolution ID |
|
||||
| ↳ `name` | string | Resolution name \(e.g., Fixed, Duplicate, Won't Fix\) |
|
||||
| ↳ `description` | string | Resolution description |
|
||||
| ↳ `duedate` | string | Due date \(YYYY-MM-DD\) |
|
||||
| ↳ `created` | string | ISO 8601 timestamp when the issue was created |
|
||||
| ↳ `updated` | string | ISO 8601 timestamp when the issue was last updated |
|
||||
|
||||
### `jira_search_issues`
|
||||
|
||||
Search for Jira issues using JQL with cursor-based pagination (V2 - uses nextPageToken)
|
||||
|
||||
#### Input
|
||||
|
||||
| Parameter | Type | Required | Description |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `domain` | string | Yes | Your Jira domain \(e.g., yourcompany.atlassian.net\) |
|
||||
| `jql` | string | Yes | JQL query string to search for issues \(e.g., "project = PROJ AND status = Open"\) |
|
||||
| `startAt` | number | No | The index of the first result to return \(for pagination\) |
|
||||
| `maxResults` | number | No | Maximum number of results to return \(default: 50\) |
|
||||
| `nextPageToken` | string | No | Cursor token for the next page of results. Omit for the first page. |
|
||||
| `maxResults` | number | No | Maximum number of results to return per page \(default: 50\) |
|
||||
| `fields` | array | No | Array of field names to return \(default: all navigable\). Use "*all" for every field. |
|
||||
| `cloudId` | string | No | Jira Cloud ID for the instance. If not provided, it will be fetched using the domain. |
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ By connecting Sim with 1Password, you empower your agents to securely manage sec
|
||||
|
||||
## Usage Instructions
|
||||
|
||||
Access and manage secrets stored in 1Password vaults using the Connect API. List vaults, retrieve items with their fields and secrets, create new items, update existing ones, and delete items.
|
||||
Access and manage secrets stored in 1Password vaults using the Connect API or Service Account SDK. List vaults, retrieve items with their fields and secrets, create new items, update existing ones, delete items, and resolve secret references.
|
||||
|
||||
|
||||
|
||||
@@ -37,14 +37,16 @@ Access and manage secrets stored in 1Password vaults using the Connect API. List
|
||||
|
||||
### `onepassword_list_vaults`
|
||||
|
||||
List all vaults accessible by the Connect token
|
||||
List all vaults accessible by the Connect token or Service Account
|
||||
|
||||
#### Input
|
||||
|
||||
| Parameter | Type | Required | Description |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `apiKey` | string | Yes | 1Password Connect API token |
|
||||
| `serverUrl` | string | Yes | 1Password Connect server URL \(e.g., http://localhost:8080\) |
|
||||
| `connectionMode` | string | No | Connection mode: "service_account" or "connect" |
|
||||
| `serviceAccountToken` | string | No | 1Password Service Account token \(for Service Account mode\) |
|
||||
| `apiKey` | string | No | 1Password Connect API token \(for Connect Server mode\) |
|
||||
| `serverUrl` | string | No | 1Password Connect server URL \(for Connect Server mode\) |
|
||||
| `filter` | string | No | SCIM filter expression \(e.g., name eq "My Vault"\) |
|
||||
|
||||
#### Output
|
||||
@@ -69,8 +71,10 @@ Get details of a specific vault by ID
|
||||
|
||||
| Parameter | Type | Required | Description |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `apiKey` | string | Yes | 1Password Connect API token |
|
||||
| `serverUrl` | string | Yes | 1Password Connect server URL \(e.g., http://localhost:8080\) |
|
||||
| `connectionMode` | string | No | Connection mode: "service_account" or "connect" |
|
||||
| `serviceAccountToken` | string | No | 1Password Service Account token \(for Service Account mode\) |
|
||||
| `apiKey` | string | No | 1Password Connect API token \(for Connect Server mode\) |
|
||||
| `serverUrl` | string | No | 1Password Connect server URL \(for Connect Server mode\) |
|
||||
| `vaultId` | string | Yes | The vault UUID |
|
||||
|
||||
#### Output
|
||||
@@ -95,8 +99,10 @@ List items in a vault. Returns summaries without field values.
|
||||
|
||||
| Parameter | Type | Required | Description |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `apiKey` | string | Yes | 1Password Connect API token |
|
||||
| `serverUrl` | string | Yes | 1Password Connect server URL \(e.g., http://localhost:8080\) |
|
||||
| `connectionMode` | string | No | Connection mode: "service_account" or "connect" |
|
||||
| `serviceAccountToken` | string | No | 1Password Service Account token \(for Service Account mode\) |
|
||||
| `apiKey` | string | No | 1Password Connect API token \(for Connect Server mode\) |
|
||||
| `serverUrl` | string | No | 1Password Connect server URL \(for Connect Server mode\) |
|
||||
| `vaultId` | string | Yes | The vault UUID to list items from |
|
||||
| `filter` | string | No | SCIM filter expression \(e.g., title eq "API Key" or tag eq "production"\) |
|
||||
|
||||
@@ -130,8 +136,10 @@ Get full details of an item including all fields and secrets
|
||||
|
||||
| Parameter | Type | Required | Description |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `apiKey` | string | Yes | 1Password Connect API token |
|
||||
| `serverUrl` | string | Yes | 1Password Connect server URL \(e.g., http://localhost:8080\) |
|
||||
| `connectionMode` | string | No | Connection mode: "service_account" or "connect" |
|
||||
| `serviceAccountToken` | string | No | 1Password Service Account token \(for Service Account mode\) |
|
||||
| `apiKey` | string | No | 1Password Connect API token \(for Connect Server mode\) |
|
||||
| `serverUrl` | string | No | 1Password Connect server URL \(for Connect Server mode\) |
|
||||
| `vaultId` | string | Yes | The vault UUID |
|
||||
| `itemId` | string | Yes | The item UUID to retrieve |
|
||||
|
||||
@@ -149,8 +157,10 @@ Create a new item in a vault
|
||||
|
||||
| Parameter | Type | Required | Description |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `apiKey` | string | Yes | 1Password Connect API token |
|
||||
| `serverUrl` | string | Yes | 1Password Connect server URL \(e.g., http://localhost:8080\) |
|
||||
| `connectionMode` | string | No | Connection mode: "service_account" or "connect" |
|
||||
| `serviceAccountToken` | string | No | 1Password Service Account token \(for Service Account mode\) |
|
||||
| `apiKey` | string | No | 1Password Connect API token \(for Connect Server mode\) |
|
||||
| `serverUrl` | string | No | 1Password Connect server URL \(for Connect Server mode\) |
|
||||
| `vaultId` | string | Yes | The vault UUID to create the item in |
|
||||
| `category` | string | Yes | Item category \(e.g., LOGIN, PASSWORD, API_CREDENTIAL, SECURE_NOTE, SERVER, DATABASE\) |
|
||||
| `title` | string | No | Item title |
|
||||
@@ -171,8 +181,10 @@ Replace an entire item with new data (full update)
|
||||
|
||||
| Parameter | Type | Required | Description |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `apiKey` | string | Yes | 1Password Connect API token |
|
||||
| `serverUrl` | string | Yes | 1Password Connect server URL \(e.g., http://localhost:8080\) |
|
||||
| `connectionMode` | string | No | Connection mode: "service_account" or "connect" |
|
||||
| `serviceAccountToken` | string | No | 1Password Service Account token \(for Service Account mode\) |
|
||||
| `apiKey` | string | No | 1Password Connect API token \(for Connect Server mode\) |
|
||||
| `serverUrl` | string | No | 1Password Connect server URL \(for Connect Server mode\) |
|
||||
| `vaultId` | string | Yes | The vault UUID |
|
||||
| `itemId` | string | Yes | The item UUID to replace |
|
||||
| `item` | string | Yes | JSON object representing the full item \(e.g., \{"vault":\{"id":"..."\},"category":"LOGIN","title":"My Item","fields":\[...\]\}\) |
|
||||
@@ -191,8 +203,10 @@ Update an existing item using JSON Patch operations (RFC6902)
|
||||
|
||||
| Parameter | Type | Required | Description |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `apiKey` | string | Yes | 1Password Connect API token |
|
||||
| `serverUrl` | string | Yes | 1Password Connect server URL \(e.g., http://localhost:8080\) |
|
||||
| `connectionMode` | string | No | Connection mode: "service_account" or "connect" |
|
||||
| `serviceAccountToken` | string | No | 1Password Service Account token \(for Service Account mode\) |
|
||||
| `apiKey` | string | No | 1Password Connect API token \(for Connect Server mode\) |
|
||||
| `serverUrl` | string | No | 1Password Connect server URL \(for Connect Server mode\) |
|
||||
| `vaultId` | string | Yes | The vault UUID |
|
||||
| `itemId` | string | Yes | The item UUID to update |
|
||||
| `operations` | string | Yes | JSON array of RFC6902 patch operations \(e.g., \[\{"op":"replace","path":"/title","value":"New Title"\}\]\) |
|
||||
@@ -211,8 +225,10 @@ Delete an item from a vault
|
||||
|
||||
| Parameter | Type | Required | Description |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `apiKey` | string | Yes | 1Password Connect API token |
|
||||
| `serverUrl` | string | Yes | 1Password Connect server URL \(e.g., http://localhost:8080\) |
|
||||
| `connectionMode` | string | No | Connection mode: "service_account" or "connect" |
|
||||
| `serviceAccountToken` | string | No | 1Password Service Account token \(for Service Account mode\) |
|
||||
| `apiKey` | string | No | 1Password Connect API token \(for Connect Server mode\) |
|
||||
| `serverUrl` | string | No | 1Password Connect server URL \(for Connect Server mode\) |
|
||||
| `vaultId` | string | Yes | The vault UUID |
|
||||
| `itemId` | string | Yes | The item UUID to delete |
|
||||
|
||||
@@ -222,4 +238,23 @@ Delete an item from a vault
|
||||
| --------- | ---- | ----------- |
|
||||
| `success` | boolean | Whether the item was successfully deleted |
|
||||
|
||||
### `onepassword_resolve_secret`
|
||||
|
||||
Resolve a secret reference (op://vault/item/field) to its value. Service Account mode only.
|
||||
|
||||
#### Input
|
||||
|
||||
| Parameter | Type | Required | Description |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `connectionMode` | string | No | Connection mode: must be "service_account" for this operation |
|
||||
| `serviceAccountToken` | string | Yes | 1Password Service Account token |
|
||||
| `secretReference` | string | Yes | Secret reference URI \(e.g., op://vault-name/item-name/field-name or op://vault-name/item-name/section-name/field-name\) |
|
||||
|
||||
#### Output
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ---- | ----------- |
|
||||
| `secret` | string | The resolved secret value |
|
||||
| `reference` | string | The original secret reference URI |
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user