文档菜单
文档首页
/ /
MongoDB CLI
/ / /

mongocli iam globalAccessLists describe

本页内容

  • 语法
  • 参数
  • 选项
  • 继承选项
  • 示例

返回指定全局API密钥的访问列表条目的详细信息。

命令语法
mongocli iam globalAccessLists describe <ID> [options]
名称
类型
必需
描述
ID
字符串
一个唯一的24位字符串,用于标识访问列表条目。
名称
类型
必需
描述
-h, --help
描述帮助
-o, --output
字符串
输出格式。有效值是json、json-path、go-template或go-template-file。要查看完整输出,请使用-o json选项。
名称
类型
必需
描述
-P, --profile
字符串
从配置文件中使用的配置文件名。要了解MongoCLI配置文件中的配置文件,请参阅https://dochub.mongodb.org/core/atlas-cli-configuration-file.
# Return the JSON-formatted details for the access list entry with the ID 5f5bad7a57aef32b04ed0210 from the access list for the global API key:
mongocli iam globalAccessLists describe 5f5bad7a57aef32b04ed0210 --output json

返回

删除