本页面由机器翻译。阅读英文原文。
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 | — | 注册表用户名(省略时会提示输入) |