> For the complete documentation index, see [llms.txt](https://manual.dxable.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://manual.dxable.com/1password/list-vaults-and-items-using-1password-sdks.md).

# 1Password SDKを使用してVaultとアイテムを一覧表示する

### 1Password SDKを使用してVaultとアイテムを一覧表示する <a href="#f93jntpd4day" id="f93jntpd4day"></a>

1Password SDK を使うと、1Password アカウント内のVaultとアイテムを一覧表示できます。これは、アイテムまたはVaultの[一意の識別子 (ID)](https://developer.1password.com/docs/sdks/concepts#unique-identifiers)を取得する必要がある場合に役立ちます。

始める前に、1Password SDK の[使用を開始するための手順に従ってください。](https://developer.1password.com/docs/sdks#get-started)

ヒント

プロジェクトですぐに複製してテストできるサンプル コードについては、 1Password [Go](https://github.com/1Password/onepassword-sdk-go/tree/main/example)、[JavaScript](https://github.com/1Password/onepassword-sdk-js/tree/main/examples)、または[Python](https://github.com/1Password/onepassword-sdk-python/tree/main/example) SDK GitHub リポジトリの examples フォルダーを参照してください。

### Vaultの一覧 <a href="#eh8fu0wsdyqt" id="eh8fu0wsdyqt"></a>

* **Go**

このclient.Vaults.ListAll関数は、アカウント内の全てのVaultを取得します。以下の例では、各Vaultの ID を返します。

![](/files/fgBI7B29UOUYrMwPz65k)

* **JavaScript**

このclient.vaults.listAll関数は、アカウント内の全てのVaultを取得します。以下の例では、各Vaultの ID を返します。

![](/files/ZZDt1fkqYQ0RfiJMhkiD)

* **Python**

このclient.vaults.list\_all関数は、アカウント内の全てのVaultを取得します。以下の例では、各Vaultの ID を返します。

![](/files/ZsGWHA0MLDw7HUBULngE)

### リスト項目 <a href="#id-2z7v49y6vrut" id="id-2z7v49y6vrut"></a>

* **Go**

このclient.items.ListAll関数は、Vault内の全てのアイテムを取得し、各アイテムの ID、タイトル、カテゴリ、およびアイテムがSaveされているVaultの ID を返すことができます。以下の例では、アイテム ID を返します。

アイテムを一覧表示するには、Vault ID を指定するか、アイテムの出力または [client.vaults.list](https://developer.1password.com/docs/sdks/list-vaults-items/#list-vaults)の出力からVault ID を渡します。

![](/files/4ejsYSa6tFisFi4YFj31)

* **JavaScript**

このclient.items.listAll関数は、Vault内の全てのアイテムを取得し、各アイテムの ID、タイトル、カテゴリ、およびアイテムがSaveされているVaultの ID を返すことができます。以下の例では、アイテム ID を返します。

アイテムを一覧表示するには、Vault ID を指定するか、アイテムの出力または [client.vaults.list](https://developer.1password.com/docs/sdks/list-vaults-items/#list-vaults)の出力からVault ID を渡します。

![](/files/C4VYtEUUbuNpFPyTakIL)

* **Python**

このclient.items.list\_all関数は、Vault内の全てのアイテムを取得し、各アイテムの ID、タイトル、カテゴリ、およびアイテムがSaveされているVaultの ID を返すことができます。以下の例では、アイテム ID を返します。

アイテムを一覧表示するには、Vault ID を指定するか、アイテムの出力または[client.vaults.list](https://developer.1password.com/docs/sdks/list-vaults-items/#list-vaults) の出力からVault ID を渡します。

![](/files/r4wU5snrwLLdRLcQKGUs)

### 詳しく <a href="#xw5khanny86c" id="xw5khanny86c"></a>

* [秘密参照構文](https://developer.1password.com/docs/cli/secret-reference-syntax/)
* [1Password SDKを使用してシークレットをロードする](https://developer.1password.com/docs/sdks/load-secrets/)
* [1Password SDKを使用してアイテムを管理する](https://developer.1password.com/docs/sdks/manage-items/)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://manual.dxable.com/1password/list-vaults-and-items-using-1password-sdks.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
