本頁為機器翻譯。閱讀英文原文。
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-stdin | false | 從 stdin 讀取密碼(需要 —username;供非互動式使用) |
--skip-verify | false | 儲存認證,而不先對登錄庫驗證 |
--username, -u | — | 登錄庫使用者名稱(若省略會提示輸入) |