<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Kiro 企業版 on Book of Kiro</title><link>https://kiro-community.github.io/book-of-kiro/zh-tw/kiro-enterprise/</link><description>Recent content in Kiro 企業版 on Book of Kiro</description><generator>Hugo</generator><language>zh-TW</language><atom:link href="https://kiro-community.github.io/book-of-kiro/zh-tw/kiro-enterprise/index.xml" rel="self" type="application/rss+xml"/><item><title>為團隊訂閱 Kiro</title><link>https://kiro-community.github.io/book-of-kiro/zh-tw/kiro-enterprise/getting-started/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://kiro-community.github.io/book-of-kiro/zh-tw/kiro-enterprise/getting-started/</guid><description>&lt;h1 id="為團隊訂閱-kiro">為團隊訂閱 Kiro&lt;a class="anchor" href="#%e7%82%ba%e5%9c%98%e9%9a%8a%e8%a8%82%e9%96%b1-kiro">#&lt;/a>&lt;/h1>
&lt;p>本指南將逐步介紹如何建立 Kiro 設定檔並透過 AWS IAM Identity Center 為使用者訂閱 Kiro 企業版。&lt;/p>
&lt;h2 id="前提條件">前提條件&lt;a class="anchor" href="#%e5%89%8d%e6%8f%90%e6%a2%9d%e4%bb%b6">#&lt;/a>&lt;/h2>
&lt;p>在開始之前，請確保您具備以下條件：&lt;/p>
&lt;p>&lt;strong>AWS 帳戶&lt;/strong>&lt;/p>
&lt;ul>
&lt;li>您需要一個 AWS 帳戶。如果您還沒有帳戶，可以&lt;a href="https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-creating.html">建立 AWS 帳戶&lt;/a>。&lt;/li>
&lt;/ul>
&lt;p>&lt;strong>AWS 權限&lt;/strong>&lt;/p>
&lt;ul>
&lt;li>作為 Kiro 管理員，您必須具有存取 AWS 中 Kiro 主控台的權限，以便訂閱和管理 Kiro 使用者。您需要的最低權限在&lt;a href="https://kiro.dev/docs/enterprise/iam/#policy-allow-administrators-to-configure-kiro-and-subscribe-users">策略：允許管理員設定 Kiro 並訂閱使用者&lt;/a>中有詳細說明。&lt;/li>
&lt;/ul>
&lt;p>&lt;strong>AWS IAM Identity Center&lt;/strong>&lt;/p>
&lt;ul>
&lt;li>您必須在 AWS 帳戶中設定 IAM Identity Center 實例，並包含要訂閱 Kiro 的使用者身分。您的 IAM Identity Center 實例必須位於&lt;a href="https://kiro.dev/docs/enterprise/supported-regions">支援的 AWS 區域&lt;/a>中。&lt;/li>
&lt;/ul>
&lt;p>&lt;strong>使用者和群組&lt;/strong>&lt;/p>
&lt;ul>
&lt;li>您可以將使用者和群組新增到 IAM Identity Center 的內建目錄，或新增到連接到 IAM Identity Center 的外部身分提供商 (IdP)。有關更多資訊，請參閱 &lt;a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/getting-started.html">IAM Identity Center 入門指南&lt;/a>。&lt;/li>
&lt;/ul>
&lt;h2 id="建立-kiro-設定檔">建立 Kiro 設定檔&lt;a class="anchor" href="#%e5%bb%ba%e7%ab%8b-kiro-%e8%a8%ad%e5%ae%9a%e6%aa%94">#&lt;/a>&lt;/h2>
&lt;ol>
&lt;li>
&lt;p>登入 AWS 管理主控台&lt;/p></description></item><item><title>常見問題</title><link>https://kiro-community.github.io/book-of-kiro/zh-tw/kiro-enterprise/faq/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://kiro-community.github.io/book-of-kiro/zh-tw/kiro-enterprise/faq/</guid><description>&lt;h1 id="kiro-企業版常見問題">Kiro 企業版常見問題&lt;a class="anchor" href="#kiro-%e4%bc%81%e6%a5%ad%e7%89%88%e5%b8%b8%e8%a6%8b%e5%95%8f%e9%a1%8c">#&lt;/a>&lt;/h1>
&lt;h2 id="使用者管理">使用者管理&lt;a class="anchor" href="#%e4%bd%bf%e7%94%a8%e8%80%85%e7%ae%a1%e7%90%86">#&lt;/a>&lt;/h2>
&lt;h3 id="企業使用者如何查詢員工使用情況">&lt;strong>企業使用者如何查詢員工使用情況？&lt;/strong>&lt;a class="anchor" href="#%e4%bc%81%e6%a5%ad%e4%bd%bf%e7%94%a8%e8%80%85%e5%a6%82%e4%bd%95%e6%9f%a5%e8%a9%a2%e5%93%a1%e5%b7%a5%e4%bd%bf%e7%94%a8%e6%83%85%e6%b3%81">#&lt;/a>&lt;/h3>
&lt;p>Kiro 提供以下方式查看使用情況：&lt;/p>
&lt;ul>
&lt;li>Kiro usage dashboard。在 Kiro 企業管理主控台中，在設定介面啟用 Kiro usage dashboard，然後在企業管理主控台的 Dashboard 介面可以查看，只能看到整體情況。&lt;/li>
&lt;li>Kiro user activity report。在 Kiro 企業管理主控台中，在設定介面啟用 Kiro user activity report，資料會以 CSV 格式儲存到 Amazon S3 上，可以看到每個人每一天的使用情況。如果您在設定過程中遇到了問題，通常是需要設定 Amazon S3 的權限，請參考&lt;a href="https://kiro.dev/docs/enterprise/monitor-and-track/user-activity/#prerequisite">此文件&lt;/a>。&lt;/li>
&lt;/ul>
&lt;h3 id="如何批次建立使用者並訂閱-kiro">&lt;strong>如何批次建立使用者並訂閱 Kiro？&lt;/strong>&lt;a class="anchor" href="#%e5%a6%82%e4%bd%95%e6%89%b9%e6%ac%a1%e5%bb%ba%e7%ab%8b%e4%bd%bf%e7%94%a8%e8%80%85%e4%b8%a6%e8%a8%82%e9%96%b1-kiro">#&lt;/a>&lt;/h3>
&lt;p>如果您需要一次性匯入大量使用者（例如團隊名單），可以使用社群工具 &lt;a href="https://github.com/kiro-community/bulk-create-users">bulk-create-users&lt;/a> 實作：&lt;/p>
&lt;ol>
&lt;li>準備一個 CSV 檔案，包含使用者資訊（郵箱、姓名、群組、訂閱層級等）&lt;/li>
&lt;li>使用 &lt;code>idc_manager.py create-users&lt;/code> 批次建立 IAM Identity Center 使用者並傳送密碼重設郵件&lt;/li>
&lt;li>使用 &lt;code>kiro_subscribe.py&lt;/code> 根據 CSV 中的層級資訊批次訂閱 Kiro&lt;/li>
&lt;/ol>
&lt;p>整個流程支援 dry-run 預覽、冪等操作（已存在的使用者會自動跳過），詳見&lt;a href="https://kiro-community.github.io/book-of-kiro/zh-tw/kiro-enterprise/bulk-user-management/">批次使用者管理指南&lt;/a>。&lt;/p>
&lt;h3 id="如何將-kiro-訂閱從一個-aws-帳戶遷移到另一個帳戶">&lt;strong>如何將 Kiro 訂閱從一個 AWS 帳戶遷移到另一個帳戶？&lt;/strong>&lt;a class="anchor" href="#%e5%a6%82%e4%bd%95%e5%b0%87-kiro-%e8%a8%82%e9%96%b1%e5%be%9e%e4%b8%80%e5%80%8b-aws-%e5%b8%b3%e6%88%b6%e9%81%b7%e7%a7%bb%e5%88%b0%e5%8f%a6%e4%b8%80%e5%80%8b%e5%b8%b3%e6%88%b6">#&lt;/a>&lt;/h3>
&lt;p>使用 &lt;a href="https://github.com/kiro-community/bulk-create-users">bulk-create-users&lt;/a> 提供的一鍵遷移命令：&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>python kiro_migrate.py &lt;span style="color:#ae81ff">\
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#ae81ff">&lt;/span> --source-profile source-account &lt;span style="color:#ae81ff">\
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#ae81ff">&lt;/span> --target-profile target-account &lt;span style="color:#ae81ff">\
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#ae81ff">&lt;/span> --region us-east-1&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>該命令會自動完成 5 個步驟：匯出來源帳戶的 Identity Store 和 Kiro 訂閱 → 匯入到目標帳戶 → 傳送密碼重設郵件 → 重建 Kiro 訂閱。所有步驟冪等，中斷後可安全重跑。&lt;/p></description></item><item><title>批次使用者管理</title><link>https://kiro-community.github.io/book-of-kiro/zh-tw/kiro-enterprise/bulk-user-management/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://kiro-community.github.io/book-of-kiro/zh-tw/kiro-enterprise/bulk-user-management/</guid><description>&lt;h1 id="批次使用者管理與跨帳戶遷移">批次使用者管理與跨帳戶遷移&lt;a class="anchor" href="#%e6%89%b9%e6%ac%a1%e4%bd%bf%e7%94%a8%e8%80%85%e7%ae%a1%e7%90%86%e8%88%87%e8%b7%a8%e5%b8%b3%e6%88%b6%e9%81%b7%e7%a7%bb">#&lt;/a>&lt;/h1>
&lt;p>社群工具 &lt;a href="https://github.com/kiro-community/bulk-create-users">bulk-create-users&lt;/a> 提供了批次建立 IAM Identity Center 使用者、訂閱 Kiro、以及跨帳戶遷移的能力。&lt;/p>
&lt;h2 id="前提條件">前提條件&lt;a class="anchor" href="#%e5%89%8d%e6%8f%90%e6%a2%9d%e4%bb%b6">#&lt;/a>&lt;/h2>
&lt;ul>
&lt;li>Python 3.10+&lt;/li>
&lt;li>AWS CLI 已設定憑證&lt;/li>
&lt;li>IAM 權限：&lt;code>identitystore:*&lt;/code>、&lt;code>sso:ListInstances&lt;/code>&lt;/li>
&lt;li>遷移場景需要來源帳戶和目標帳戶的 AWS 憑證（使用 &lt;code>--profile&lt;/code>）&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>python3 -m venv .venv
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>source .venv/bin/activate
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>pip install -r requirements.txt&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="工具一覽">工具一覽&lt;a class="anchor" href="#%e5%b7%a5%e5%85%b7%e4%b8%80%e8%a6%bd">#&lt;/a>&lt;/h2>
&lt;table>
 &lt;thead>
 &lt;tr>
 &lt;th>腳本&lt;/th>
 &lt;th>用途&lt;/th>
 &lt;/tr>
 &lt;/thead>
 &lt;tbody>
 &lt;tr>
 &lt;td>&lt;code>idc_manager.py create-users&lt;/code>&lt;/td>
 &lt;td>從 CSV 批次建立使用者&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>&lt;code>idc_manager.py reset-password&lt;/code>&lt;/td>
 &lt;td>傳送密碼重設郵件&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>&lt;code>idc_manager.py export-store&lt;/code>&lt;/td>
 &lt;td>匯出 Identity Store（使用者、群組、成員關係）&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>&lt;code>idc_manager.py import-store&lt;/code>&lt;/td>
 &lt;td>匯入 Identity Store 到另一個帳戶&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>&lt;code>idc_manager.py export-subscriptions&lt;/code>&lt;/td>
 &lt;td>匯出 Kiro 訂閱（含使用者詳情）&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>&lt;code>kiro_subscribe.py&lt;/code>&lt;/td>
 &lt;td>批次訂閱 Kiro（Pro / Pro+ / Power）&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>&lt;code>kiro_migrate.py&lt;/code>&lt;/td>
 &lt;td>&lt;strong>一鍵跨帳戶遷移&lt;/strong>&lt;/td>
 &lt;/tr>
 &lt;/tbody>
&lt;/table>
&lt;h2 id="場景一批次匯入新使用者">場景一：批次匯入新使用者&lt;a class="anchor" href="#%e5%a0%b4%e6%99%af%e4%b8%80%e6%89%b9%e6%ac%a1%e5%8c%af%e5%85%a5%e6%96%b0%e4%bd%bf%e7%94%a8%e8%80%85">#&lt;/a>&lt;/h2>
&lt;h3 id="1-準備-csv">1. 準備 CSV&lt;a class="anchor" href="#1-%e6%ba%96%e5%82%99-csv">#&lt;/a>&lt;/h3>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-csv" data-lang="csv">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#e6db74">UserName&lt;/span>,&lt;span style="color:#e6db74">GivenName&lt;/span>,&lt;span style="color:#e6db74">FamilyName&lt;/span>,&lt;span style="color:#e6db74">DisplayName&lt;/span>,&lt;span style="color:#e6db74">Email&lt;/span>,&lt;span style="color:#e6db74">Groups&lt;/span>,&lt;span style="color:#e6db74">KiroTier&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#e6db74">jsmith&lt;/span>,&lt;span style="color:#e6db74">John&lt;/span>,&lt;span style="color:#e6db74">Smith&lt;/span>,&lt;span style="color:#e6db74">John Smith&lt;/span>,&lt;span style="color:#e6db74">jsmith@example.com&lt;/span>,&lt;span style="color:#e6db74">KiroUsers&lt;/span>,&lt;span style="color:#e6db74">Kiro Pro&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#e6db74">jdoe&lt;/span>,&lt;span style="color:#e6db74">Jane&lt;/span>,&lt;span style="color:#e6db74">Doe&lt;/span>,&lt;span style="color:#e6db74">Jane Doe&lt;/span>,&lt;span style="color:#e6db74">jdoe@example.com&lt;/span>,&lt;span style="color:#e6db74">&amp;#34;KiroUsers,KiroAdmins&amp;#34;&lt;/span>,&lt;span style="color:#e6db74">Kiro Pro+&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>列名大小寫不敏感，&lt;code>Email&lt;/code> 為必填，其餘可選。完整列名映射見 &lt;a href="https://github.com/kiro-community/bulk-create-users#step-1-prepare-a-csv">README&lt;/a>。&lt;/p></description></item><item><title>從 Amazon Q Developer 遷移</title><link>https://kiro-community.github.io/book-of-kiro/zh-tw/kiro-enterprise/migrate-from-q-dev/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://kiro-community.github.io/book-of-kiro/zh-tw/kiro-enterprise/migrate-from-q-dev/</guid><description>&lt;h1 id="遷移到-kiro">&lt;strong>遷移到 Kiro&lt;/strong>&lt;a class="anchor" href="#%e9%81%b7%e7%a7%bb%e5%88%b0-kiro">#&lt;/a>&lt;/h1>
&lt;p>如果您已經訂閱 Amazon Q Developer Pro，並且想要遷移到 Kiro，可以參考以下步驟。&lt;/p>
&lt;h2 id="管理員操作">&lt;strong>管理員操作&lt;/strong>&lt;a class="anchor" href="#%e7%ae%a1%e7%90%86%e5%93%a1%e6%93%8d%e4%bd%9c">#&lt;/a>&lt;/h2>
&lt;h3 id="升級訂閱">&lt;strong>升級訂閱&lt;/strong>&lt;a class="anchor" href="#%e5%8d%87%e7%b4%9a%e8%a8%82%e9%96%b1">#&lt;/a>&lt;/h3>
&lt;p>首先，&lt;a href="https://console.aws.amazon.com/amazonq/developer/home?region=us-east-1">登入 Kiro 主控台&lt;/a>，在左側面板選擇 Amazon Q Developer 訂閱介面，然後點擊 Upgrade to Kiro&lt;/p>
&lt;p>&lt;img src="https://kiro-community.github.io/book-of-kiro/images/q_dev/upgrade-button.png" alt="upgrade-button" />&lt;/p>
&lt;p>選擇要進行升級的使用者或群組，然後點擊右上角選擇 Kiro Plan，然後點擊下一步&lt;/p>
&lt;p>&lt;img src="https://kiro-community.github.io/book-of-kiro/images/q_dev/select-user-to-upgrade.png" alt="select-user-to-upgrade" />&lt;/p>
&lt;p>確認訂閱計畫無誤後，點擊右下角的 Upgrade 按鈕&lt;/p>
&lt;p>&lt;img src="https://kiro-community.github.io/book-of-kiro/images/q_dev/check-upgrade-plan.png" alt="check-upgrade-plan" />&lt;/p>
&lt;p>完成後，會被重新導向到 Kiro 的使用者訂閱介面&lt;/p>
&lt;p>&lt;img src="https://kiro-community.github.io/book-of-kiro/images/q_dev/finish-upgrade.png" alt="finish-upgrade" />&lt;/p>
&lt;p>至此即完成了訂閱的升級。原本 Amazon Q Developer Pro 的訂閱已被取消，被升級為了 Kiro 訂閱。&lt;/p>
&lt;h3 id="啟用資料統計和指標">&lt;strong>啟用資料統計和指標&lt;/strong>&lt;a class="anchor" href="#%e5%95%9f%e7%94%a8%e8%b3%87%e6%96%99%e7%b5%b1%e8%a8%88%e5%92%8c%e6%8c%87%e6%a8%99">#&lt;/a>&lt;/h3>
&lt;p>由於 Kiro 的資料指標和 Amazon Q Developer 的資料指標是兩套不同的系統，您還需要為 Kiro 啟動 Dashboard, Prompt Logging 和使用者級指標 (User Activity Report)。&lt;/p>
&lt;p>&lt;img src="https://kiro-community.github.io/book-of-kiro/images/q_dev/upgrade-settings.png" alt="upgrade-settings" />&lt;/p>
&lt;h2 id="使用者操作">&lt;strong>使用者操作&lt;/strong>&lt;a class="anchor" href="#%e4%bd%bf%e7%94%a8%e8%80%85%e6%93%8d%e4%bd%9c">#&lt;/a>&lt;/h2>
&lt;h3 id="切換-kiro-ide-訂閱">&lt;strong>切換 Kiro IDE 訂閱&lt;/strong>&lt;a class="anchor" href="#%e5%88%87%e6%8f%9b-kiro-ide-%e8%a8%82%e9%96%b1">#&lt;/a>&lt;/h3>
&lt;p>管理員完成上述步驟後，使用者只需要退出 Kiro 用戶端並重新啟動，即可重新整理登入狀態，對話中也可以看到消耗的 Credit 以及耗時&lt;/p></description></item></channel></rss>