跳到內容
AggregaAggregaAggregaAggrega
選擇語言: 繁體中文
本頁為機器翻譯。閱讀英文原文。

aggrega login

向 OCI 登錄庫驗證並儲存認證

概要

aggrega login <registry> [flags]

說明

Store a username/password credential for a registry so subsequent push, pull, and lint --pre-publish authenticate transparently. The credential is written to the shared OCI credential store (the same store those commands read), honoring a configured credential helper or OS keychain when present. No external login tool is required.

旗標

旗標預設說明
--password-stdinfalse從 stdin 讀取密碼(需要 —username;供非互動式使用)
--skip-verifyfalse儲存認證,而不先對登錄庫驗證
--username, -u—登錄庫使用者名稱(若省略會提示輸入)