Skip to main content
サービスアカウント は、人間以外のアイデンティティやマシンのアイデンティティを表し、Teams や Projects を横断して一般的なタスクを自動化できます。サービスアカウントは、CI/CD パイプライン、自動化されたトレーニングジョブ、その他のマシン間の ワークフロー に最適です。 Key benefits of service accounts:
  • No license consumption: Service accounts do not consume user seats or licenses
  • Dedicated API keys: Secure credentials for automated workflows
  • User attribution: Optionally attribute automated runs to human users
  • Enterprise-ready: Built for production automation at scale
  • Delegated operations: Service accounts operate on behalf of the user or organization that creates them
とりわけ、サービスアカウントは、定期的な再トレーニングやナイトリービルドなど、wandb に ログ を記録する自動化されたジョブの追跡に役立ちます。必要に応じて、環境変数 WANDB_USERNAME または WANDB_USER_EMAIL を使用して、これらのマシンから実行された Runs に特定のユーザー名を関連付けることができます。 ベストプラクティス や詳細な設定手順を含む、サービスアカウントに関する包括的な情報については、Use service accounts to automate workflows を参照してください。チーム内でのサービスアカウントの 振る舞い についての情報は、Team Service Account Behavior を参照してください。 To create a new team-scoped service account and API key:
  1. In your team’s settings, click Service Accounts.
  2. Click New Team Service Account.
  3. Provide a name for the service account.
  4. Set Authentication Method to Generate API key (default). If you select Federated Identity, the service account cannot own API keys.
  5. Click Create.
  6. Find the service account you just created.
  7. Click the action menu (...), then click Create API key.
  8. Provide a name for the API key, then click Create.
  9. Copy the API key and store it securely.
  10. Click Done.
Built-in(組み込み)サービスアカウントの他に、W&B は SDK および CLI 用のアイデンティティフェデレーション を使用した External service accounts(外部サービスアカウント)もサポートしています。JSON Web Tokens (JWT) を発行できるアイデンティティプロバイダーで管理されているサービスアイデンティティを使用して、W&B タスクを自動化したい場合は、外部サービスアカウントを使用してください。