跳转到内容
AggregaAggrega
选择语言: 简体中文
本页面由机器翻译。阅读英文原文。

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—注册表用户名(省略时会提示输入)