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

Agentuity云存储获取工具是一个用于查询和显示云平台存储桶详细信息的命令行工具。该工具支持获取存储桶名称、访问密钥、区域和端点等配置信息,并可选择以明文或掩码形式显示敏感凭据。适用于云存储管理、DevOps运维和云平台集成等场景。 关键词:Agentuity云存储,存储桶查询,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: “<name>” metadata: command: “agentuity cloud storage get” tags: “read-only fast requires-auth”

云存储获取

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

前提条件

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

使用方法

agentuity cloud storage get <name> [options]

参数

参数 类型 是否必需 描述
<name> 字符串 -

选项

选项 类型 是否必需 默认值 描述
--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