> 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/1password-service-accounts.md).

# 1Password Service Accounts

### **1Password Service Accounts** <a href="#uvs1jybxe3m" id="uvs1jybxe3m"></a>

1Password Service Accountsは、追加のサービスを展開する必要なく、アプリケーションとインフラ内のシークレット管理を自動化するのに役立ちます。

サービスアカウントは、個人に関連付けない[1Password CLI](https://developer.1password.com/docs/cli/)の認証方法を提供するため、共有環境に適しています。サービス アカウントがアクセスできる保管庫と実行できるアクションを制御できます。

💡サービス アカウントが適切かどうかわからない場合\
[Secrets Automationの比較表](https://developer.1password.com/docs/secrets-automation/#comparison)を参照してください。

### **ユースケース** <a href="#na7p6cecaejf" id="na7p6cecaejf"></a>

1Password Service Accountsを使うと、さまざまなタスクを実行できます。

### ウェブサービス <a href="#id-647mhvf3ttdd" id="id-647mhvf3ttdd"></a>

#### **シークレットと一緒にウェブサービスをプロビジョニングする** <a href="#wn2oro3684zr" id="wn2oro3684zr"></a>

サービスアカウントを使って、1PasswordにSaveされているシークレットを使ってアカウントをプロビジョニングします。

ウェブサービスがデータベースにアクセスする必要がある場合（かつデータベースの資格情報が1Passwordにある場合）、サービスアカウントを使って必要なシークレットを持つアカウントをプロビジョニングし、テスト実行中にそのウェブサービスがシークレットにアクセスできるようにすることができます。

### CI/CDパイプライン <a href="#id-6jw525aknlb8" id="id-6jw525aknlb8"></a>

#### **CI/CDパイプラインにシークレットをロードする** <a href="#id-9ab3oupt5mqr" id="id-9ab3oupt5mqr"></a>

サービスアカウントを使って、継続的インテグレーション環境でシークレットに自動的にアクセスできます。

コードをコミットし、1Passwordの保管庫にSaveされている認証情報を使ってCI/CDパイプラインを自動的に実行したい場合は、サービスアカウントを使ってシークレットに自動的にアクセスし、機密情報を個人ユーザーアカウントに結び付けることなくセキュリティーを維持しながら、コードのテストとデプロイに使用できます。

### シークレット管理 <a href="#z7s7rez9p20d" id="z7s7rez9p20d"></a>

#### **シークレット管理を自動化** <a href="#id-93jv2lhm6pli" id="id-93jv2lhm6pli"></a>

サービスアカウントを使って、シークレットを管理するスクリプトを自動化できます。

サービスアカウントを使うと、最小特権の原則を守りながら、個人アカウントの制限（SSOやMFAの必要条件など）を回避することができます。

### テスト環境 <a href="#b5zu3kbj7q22" id="b5zu3kbj7q22"></a>

#### **テスト環境をCreateする** <a href="#l9tgb932em89" id="l9tgb932em89"></a>

本番環境でConnectを使う一方で、テスト環境ではサービスアカウントを使ってください。

テスト環境にサービスアカウントを使うと、シークレットやアクセスを区分したまま、同様のテスト環境をCreateできます。サービスアカウントを使うと、Connect を設定しなくても、テスト環境のシークレットに自動的にアクセスできます。

### インフラのシークレット管理 <a href="#ryf4ztep06ee" id="ryf4ztep06ee"></a>

#### **インフラの秘密を守る** <a href="#kptp4q2ym0cb" id="kptp4q2ym0cb"></a>

サービスアカウントを使えば、インフラのシークレットを個人ユーザーアカウントに関連付けずに確実に管理できます。

### 開発ワークフロー <a href="#id-7db0u2wys7xb" id="id-7db0u2wys7xb"></a>

#### **開発ワークフローを合理化する** <a href="#id-1hc33171etjc" id="id-1hc33171etjc"></a>

サービスアカウントを使えばインフラのシークレットを安全に共有および管理でき、開発ワークフローを効率化できます。

### **始めましょう** <a href="#klxk2rgf1urn" id="klxk2rgf1urn"></a>

開始方法、サービス アカウントのCreate、管理、統合の方法について学んでください。

[ここから始めましょう](https://developer.1password.com/docs/service-accounts/get-started/)


---

# 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/1password-service-accounts.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.
