> For the complete documentation index, see [llms.txt](https://docs.keeper.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.keeper.io/keeperpam/jp/privileged-access-manager/just-in-time-access-jit/keeper-privileged-cloud/configure-jit-access-to-the-aws-console.md).

# AWSコンソールへのJITアクセス構成

認証済みSSO起動URLとセッション記録による、AWSコンソールへのジャストインタイムアクセス

<figure><img src="https://859776093-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPL6k1aGsLiFiiJ3Y7zCl%2Fuploads%2Fgit-blob-81e17821cf5472a645683dc747ef5801da3c52ea%2Fimage%20(509).png?alt=media" alt=""><figcaption></figcaption></figure>

### 概要 <a href="#overview" id="overview"></a>

Keeper特権クラウドでは、AWSに紐づくクラウドリソースレコードでRBIセッションを起動すると、KeeperがユーザーをAWSマネジメントコンソールへ自動的にサインインさせます。パスワードの入力は不要です。

JITの一時アカウントと既存のAWSユーザーのどちらでも利用できます。

### 開始前に <a href="#before-you-start" id="before-you-start"></a>

* [AWS環境のセットアップ](https://docs.keeper.io/keeperpam/jp/privileged-access-manager/getting-started/pam-configuration/aws-environment-setup.md)に従ってPAM構成をセットアップし、対応するゲートウェイを接続します。
* レコードのURLが、`https://console.aws.amazon.com/` (GovCloudの場合は `https://console.amazonaws-us-gov.com/`) など、正しいAWSコンソールを指していることを確認します。URLが別の場所を指している場合やアカウントがAWSの中国リージョンにある場合は、セッションは開きますが、通常のAWSログインページが表示されます。
* 一時アカウントを使用するには、レコードのJIT設定で **\[接続用に一時アカウントを作成]** をオンにし、アカウントに付与される権限を確認します。

<figure><img src="https://859776093-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPL6k1aGsLiFiiJ3Y7zCl%2Fuploads%2Fgit-blob-3f741efd823d3457f6554840d3c7b388f2eb198e%2FScreenshot%202026-10-27%20at%202.47.01%E2%80%AFPM.png?alt=media" alt="一時アカウントを作成するPAMクラウドリソースレコードのJIT設定"><figcaption><p>このレコードは、クラウドリソースへの接続時に一時アカウントを使用するよう設定されています。</p></figcaption></figure>

### セッションの起動 <a href="#launching-a-session" id="launching-a-session"></a>

{% stepper %}
{% step %}

#### レコードを開く <a href="#open-the-record" id="open-the-record"></a>

**\[起動]** をクリックします。
{% endstep %}

{% step %}

#### AWSコンソールにアクセス <a href="#access-the-aws-console" id="access-the-aws-console"></a>

リモートブラウザ分離 (RBI) ウィンドウでAWSコンソールが開き、リモートのAWSセッションにはすでにサインインした状態になります。
{% endstep %}

{% step %}

#### 監査と保護 <a href="#audit-and-protect" id="audit-and-protect"></a>

リソースの構成に応じて、セッションを自動的に記録し、KeeperAIで要約できます。
{% endstep %}
{% endstepper %}

ユーザーの操作は以上です。残りの処理はバックグラウンドで実行されます。

<figure><img src="https://859776093-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPL6k1aGsLiFiiJ3Y7zCl%2Fuploads%2Fgit-blob-d5c6dcf52ef62795a0d1f5283b6e31856e163bdf%2FScreenshot%202026-10-29%20at%201.27.57%E2%80%AFPM.png?alt=media" alt="環境に自動でログインしたあと、RBIウィンドウにAWSコンソールが表示されたPAMクラウドリソースレコード"><figcaption><p>一時アカウントで環境に自動ログインしたあと、RBIウィンドウにAWSコンソールが表示されたレコードです。</p></figcaption></figure>

### バックグラウンドでの処理 <a href="#what-happens-behind-the-scenes" id="what-happens-behind-the-scenes"></a>

{% stepper %}
{% step %}

#### 必要に応じて一時ユーザーアカウントを作成 <a href="#an-ephemeral-user-account-is-created-when-needed" id="an-ephemeral-user-account-is-created-when-needed"></a>

一時アカウントの場合、ゲートウェイはJIT設定の権限を持つ新しいユーザーをAWSに作成します。既存ユーザーの場合は、この手順をスキップします。
{% endstep %}

{% step %}

#### 一時アクセスキーを作成 <a href="#a-temporary-access-key-is-created" id="a-temporary-access-key-is-created"></a>

ゲートウェイは、ユーザーのアカウントに一時アクセスキー (トークン) を作成します。アクセスキーがないと、AWSはコンソールのログインリンクを発行しません。
{% endstep %}

{% step %}

#### 1回限り有効なSSO起動URLを生成 <a href="#a-single-use-sso-launch-url-is-generated" id="a-single-use-sso-launch-url-is-generated"></a>

ゲートウェイは、新しく作成したアクセスキーを使用して、事前に認可されたログインリンク (SSO起動URL) を生成し、RBIに渡します。
{% endstep %}

{% step %}

#### RBIをAWSコンソールへリダイレクト <a href="#rbi-is-redirected-to-the-aws-console" id="rbi-is-redirected-to-the-aws-console"></a>

RBIウィンドウが読み込まれると、このリンクが開き、ユーザーはそのままコンソールにログインします。
{% endstep %}
{% endstepper %}

<figure><img src="https://859776093-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPL6k1aGsLiFiiJ3Y7zCl%2Fuploads%2Fgit-blob-041360fc660773f2ff983a8694583360f2cbe5e2%2FScreenshot%202026-10-29%20at%201.29.52%E2%80%AFPM.png?alt=media" alt="RBIセッションの起動後に、新しく作成された一時ユーザーが表示されたAWSコンソール"><figcaption><p>この例では、上記のRBIセッションの起動時に、AWS IAMに一時ユーザーアカウントが作成されています。</p></figcaption></figure>

### セッション終了時 <a href="#when-the-session-ends" id="when-the-session-ends"></a>

セッションは、JITタイマーが切れたとき、またはユーザーがRBIセッションを閉じたときに終了します。その後、KeeperPAMゲートウェイが作成したものを削除します。

* **一時ユーザー:** AWSからユーザーが削除され、アクセスキーも一緒に削除されます。
* **既存ユーザー:** ゲートウェイは、セッション用に作成したアクセスキーを削除します。ユーザーアカウントと、もともとあったアクセスキーはそのまま残ります。

<figure><img src="https://859776093-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPL6k1aGsLiFiiJ3Y7zCl%2Fuploads%2Fgit-blob-1531210ffa5a329418cc57ff9c445088d80402e8%2FScreenshot%202026-10-29%20at%201.30.30%E2%80%AFPM.png?alt=media" alt="RBIセッションを閉じたあと、以前作成された一時ユーザーが存在しないことを示すAWSコンソール"><figcaption><p>この例では、RBIセッションを閉じたあと、以前作成された一時ユーザーがAWSコンソールに存在しなくなっています。</p></figcaption></figure>

### トラブルシューティング <a href="#troubleshooting" id="troubleshooting"></a>

#### ユーザーにすでに2つのアクセスキーがある <a href="#the-user-already-has-two-access-keys" id="the-user-already-has-two-access-keys"></a>

AWSでは、1ユーザーにつきアクセスキーは2つまでです。既存ユーザーがすでに2つ持っている場合、ゲートウェイは一時アクセスキーを追加できません。そのため、SSO起動URLを生成できず、セッションは開始されません。ユーザーには以下のエラーが表示されます。

> Can't start the session: this launch credential's AWS user is already at the maximum of 2 access keys, so a temporary sign-in key can't be created. Remove an unused access key on that IAM user and try again.

解決するには、AWSでユーザーのアクセスキーを1つ削除し (IAM > ユーザー > 対象ユーザーを選択 > セキュリティ認証情報 > アクセスキー)、再度起動します。削除する前に、そのキーに依存しているものがないことを確認してください。AWSは無効化したキーも上限に数えるため、キーを無効化するだけでは解決しません。

一時ユーザーでは、この問題は発生しません。アクセスキーがない状態から開始されるためです。

#### コンソールの読み込みに時間がかかる <a href="#the-console-takes-a-while-to-load" id="the-console-takes-a-while-to-load"></a>

AWSが新しいアクセスキーを認識するまでに数秒かかり、その後にログインリンクが発行されます。起動のたびに短い待ち時間が発生し、新規の一時ユーザーでは最大15秒ほどかかります。


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.keeper.io/keeperpam/jp/privileged-access-manager/just-in-time-access-jit/keeper-privileged-cloud/configure-jit-access-to-the-aws-console.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
