Agentuity云存储获取工具 agentuity-cli-cloud-storage-get

这是一个用于Agentuity云平台的命令行工具,主要功能是查询和显示特定云存储桶的详细配置信息,包括桶名称、访问密钥、区域和端点等。适用于云存储管理、DevOps运维和云平台操作。关键词:Agentuity CLI,云存储,S3桶,存储管理,DevOps工具,命令行工具,云平台操作。

云原生架构 0 次安装 0 次浏览 更新于 2/28/2026

name: agentuity-cli-cloud-storage-get description: 显示特定存储桶的详细信息。需要身份验证。用于Agentuity云平台操作 version: “0.0.103” license: Apache-2.0 allowed-tools: “Bash(agentuity:*)” argument-hint: “<名称>” metadata: command: “agentuity cloud storage get” tags: “只读 快速 需要认证”

云存储获取

显示特定存储桶的详细信息

先决条件

  • 已通过 agentuity auth login 认证
  • 需要组织上下文(--org-id 或默认组织)

用法

agentuity cloud storage get <名称> [选项]

参数

参数 类型 必填 描述
<名称> 字符串 -

选项

选项 类型 必填 默认值 描述
--showCredentials 布尔值 - 以明文显示凭据(默认:终端中隐藏,JSON中显示)

示例

获取存储桶详情:

bunx @agentuity/cli cloud storage get my-bucket

显示存储桶信息:

bunx @agentuity/cli cloud storage show my-bucket

获取存储桶及凭据:

bunx @agentuity/cli cloud storage get my-bucket --show-credentials

输出

返回JSON对象:

{
  "bucket_name": "string",
  "access_key": "string",
  "secret_key": "string",
  "region": "string",
  "endpoint": "string"
}
字段 类型 描述
bucket_name 字符串 存储桶名称
access_key 字符串 S3访问密钥
secret_key 字符串 S3秘密密钥
region 字符串 S3区域
endpoint 字符串 S3端点URL