Docs 菜单

realm-cli secrets

重要

Realm 命令行界面(Realm CLI)已弃用

realm-cli已弃用,并且不会获得未来的功能或错误修复。 请改用App Services CLI。

App Services CLI 是在 npm 上提供的。要在您的系统上安装该 CLI,请确保您安装了 Node.js,然后在 Shell 中运行以下命令:

npm install -g atlas-app-services-cli

Manage the Secrets of your App (alias: secret)

名称
类型
必需
说明

-h,--help

false

有关密钥的帮助

名称
类型
必需
说明

--profile

字符串

false

指定您的配置文件(默认值:"default")(默认为 "default")

--telemetry

字符串

false

启用/禁用当前配置文件的 CLI 使用情况跟踪(默认值:“on”;允许值:“on”、“off”)

-o, --output-target

字符串

false

将 CLI 输出写入指定文件路径

-f, --output-format

字符串

false

设置CLI输出格式(默认值:<blank> ;允许值:<blank> , &quot; JSON &quot;)

--disable-colors

false

禁用所有 CLI 输出样式(例如颜色、字体样式等)

-y, --yes

false

通过同意任何所需的用户提示,自动继续执行 CLI 命令