このページの一部またはすべての情報は、S3NS の Trusted Cloud に適用されない場合があります。
Artifact Registry サービス エージェント
Artifact Registry サービス エージェントは、 Trusted Cloud by S3NS サービスを操作するときに Artifact Registry の代理として動作します。
Trusted Cloud プロジェクトの最初の Artifact Registry リポジトリを作成すると、Artifact Registry サービス エージェントが自動的に作成されます。このサービス エージェント ID は次のとおりです。
service-PROJECT-NUMBER@gcp-sa-artifactregistry.s3ns-system.iam.gserviceaccount.com
PROJECT-NUMBER は、Artifact Registry が実行されているTrusted Cloud プロジェクトのプロジェクト番号です。
次のコマンドを使用すると、リポジトリなしでプロジェクトでサービス アカウントを手動で作成できます。
gcloud beta services identity create \
--service=artifactregistry.s3nsapis.fr \
--project=PROJECT-ID
PROJECT-ID
を Trusted Cloud プロジェクト ID で置き換えます。
Artifact Registry サービス エージェントには、プロジェクト内のリソースに対する Artifact Registry サービス エージェントのロール(roles/artifactregistry.serviceAgent
)が付与されます。最小権限のセキュリティ原則を実施するため、このロールには最小権限の原則のみが付与されています。
- Pub/Sub トピックを公開します:
pubsub.topics.publish
- Artifact Registry リポジトリからアーティファクトをダウンロードします:
artifactregistry.repositories.downloadArtifacts
- アーティファクトを削除します:
artifactregistry.versions.delete
次のステップ
Artifact Registry のロールとリポジトリへのアクセスの構成について学習する。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-08-18 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-08-18 UTC。"],[[["\u003cp\u003eThe Artifact Registry Service Agent operates on behalf of Artifact Registry when interacting with other Google Cloud services.\u003c/p\u003e\n"],["\u003cp\u003eThis service agent is automatically generated upon the creation of the first Artifact Registry repository within a Google Cloud project.\u003c/p\u003e\n"],["\u003cp\u003eThe service agent's identifier is \u003ccode\u003eservice-PROJECT-NUMBER@gcp-sa-artifactregistry.iam.gserviceaccount.com\u003c/code\u003e, where PROJECT-NUMBER represents the project number.\u003c/p\u003e\n"],["\u003cp\u003eThe service agent is granted the Artifact Registry Service Agent role, which includes permissions for publishing Pub/Sub topics, downloading artifacts, and deleting artifacts.\u003c/p\u003e\n"],["\u003cp\u003eYou can manually create the service agent in projects without any repositories using the provided \u003ccode\u003egcloud\u003c/code\u003e command.\u003c/p\u003e\n"]]],[],null,[]]