云Redis连接显示工具 agentuity-cli-cloud-redis-show

这是一个用于Agentuity云平台的命令行工具,主要功能是安全地显示Redis数据库的连接URL。该工具需要用户先进行身份验证,并支持以明文或JSON格式输出连接信息,方便开发者在云端应用开发、数据缓存配置、微服务连接等场景中快速获取Redis访问地址。关键词:Redis连接、云平台、命令行工具、Agentuity、数据库配置、DevOps、后端开发。

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

name: agentuity-cli-cloud-redis-show description: 显示Redis连接URL。需要身份验证。用于Agentuity云平台操作 version: “0.0.103” license: Apache-2.0 allowed-tools: “Bash(agentuity:*)” metadata: command: “agentuity cloud redis show” tags: “read-only fast requires-auth”

云Redis显示

显示Redis连接URL

前提条件

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

使用方法

agentuity cloud redis show [选项]

选项

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

示例

显示Redis连接URL:

bunx @agentuity/cli cloud redis show

显示包含可见凭据的Redis URL:

bunx @agentuity/cli cloud redis show --show-credentials

以JSON格式显示Redis URL:

bunx @agentuity/cli --json cloud redis show

输出

返回JSON对象:

{
  "url": "字符串"
}
字段 类型 描述
url 字符串 Redis连接URL