Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion platform/hosting/iam/service-accounts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Service accounts are particularly useful for:
- **Airflow/Prefect/Dagster**: ML pipeline orchestration tools

<Note>
Service accounts are available on [Dedicated Cloud](/platform/hosting/hosting-options/dedicated_cloud), [Self-Managed instances](/platform/hosting/hosting-options/self-managed) with an enterprise license, and enterprise accounts in [SaaS Cloud](/platform/hosting/hosting-options/multi_tenant_cloud).
Service accounts are available on [Dedicated Cloud](/platform/hosting/hosting-options/dedicated_cloud), [Self-Managed instances](/platform/hosting/hosting-options/self-managed) with an enterprise license, and enterprise accounts in [Multi-tenant Cloud](/platform/hosting/hosting-options/multi_tenant_cloud).
</Note>

## Organization-scoped service accounts
Expand Down
4 changes: 2 additions & 2 deletions platform/hosting/monitoring-usage/audit-logging.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,10 @@ This table describes possible actions that can be recorded by W&B, sorted alphab
| `team:delete` | Team is deleted.
| `team:invite_user` | User is invited to team.
| `team:uninvite` | User or service account is uninvited from team.
| `user:create_api_key` | API key for the user is created. <sup><a href="#1">1</a></sup>
| `user:create_api_key` | API key for the user or service account is created. <sup><a href="#1">1</a></sup>
| `user:create` | User is created. <sup><a href="#1">1</a></sup>
| `user:deactivate` | User is deactivated. <sup><a href="#1">1</a></sup>
| `user:delete_api_key` | API key for the user is deleted. <sup><a href="#1">1</a></sup>
| `user:delete_api_key` | API key for the user or service account is deleted. <sup><a href="#1">1</a></sup>
| `user:initiate_login` | User initiates log in. <sup><a href="#1">1</a></sup>
| `user:login` | User logs in. <sup><a href="#1">1</a></sup>
| `user:logout` | User logs out. <sup><a href="#1">1</a></sup>
Expand Down
15 changes: 9 additions & 6 deletions snippets/en/_includes/api-key-create.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,23 @@ import ServiceAccountApiKeyCreate from "/snippets/en/_includes/service-account-a
To create an API key, select the **Personal API key** or **Service Account API key** tab for details.

<Tabs>
<Tab title="Personal API key">
<Tab title="Personal API key">
To create a personal API key owned by your user ID:

1. Navigate to [User Settings](https://wandb.ai/settings) and log in if necessary.
1. Log in to W&B, click your user profile icon, then click **User Settings**.
2. Click **Create new API key**.
3. Provide a descriptive name for your API key.
4. Click **Create**.
5. Copy the displayed API key immediately and store it securely.

</Tab>
<Tab title="Service account API key">
<ServiceAccountApiKeyCreate/>
</Tab>
</Tab>
<Tab title="Service account API key">

<ServiceAccountApiKeyCreate/>

</Tab>
</Tabs>

<ApiKeyViewOnceWarning/>

For secure storage options, see [Store API keys securely](#store-and-handle-api-keys-securely).
26 changes: 15 additions & 11 deletions snippets/en/_includes/api-key-find.mdx
Original file line number Diff line number Diff line change
@@ -1,23 +1,27 @@
<Note>
In **Dedicated Cloud** and **Self-Managed**:
- Organization admins can find or list API keys for all organization users and service accounts.
- Team admins can find or list API keys for service accounts in teams they administer.
- Non-admin users can find or list their own API keys.
</Note>

To find an API key, select the **Personal API key** or **Service Account API key** tab for details.

<Tabs>
<Tab title="Personal API key">
<Tab title="Personal API key">
To find a personal API key owned by your user ID:

1. Navigate to [User Settings](https://wandb.ai/settings) and log in if necessary.
2. Alternatively, access your user settings:
- Click your user profile icon in the upper-right corner.
- Select **User Settings**.
- Scroll to the **API Keys** section.
</Tab>
<Tab title="Service account API key">
1. Log in to W&B, click your user profile icon, then click **User Settings**.
2. Scroll to the **API Keys** section.

</Tab>
<Tab title="Service account API key">
To find an API key owned by an organization or team service account:

1. Navigate to the **API Keys** tab in your organization settings.
2. Find the API key in the list. You can search or filter the list by owner, key name, or key ID.
</Tab>

</Tab>
</Tabs>

<Note>
The API keys table shows the key ID (the first part of each API key) for identification purposes. The full secret API key is only displayed once when you create it. If you need to use an existing key but do not have the full secret stored, you must create a new API key.
</Note>
4 changes: 3 additions & 1 deletion snippets/en/_includes/org-service-account-create.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
To create a new organization-scoped service account and API key:

1. Go to [Organization settings](https://wandb.ai/account-settings/), then click **Service Accounts**.
1. Log in to W&B, click your user profile icon, then:
- **Dedicated Cloud** or **Self-Managed**: Click **Organization Dashboard**, then click **Service Accounts**.
- **Multi-tenant Cloud**: Click **Service Accounts**.
2. Click **Create service account**.
3. Provide a name and select a default team.
4. Click **Create**.
Expand Down