名称: agentuity-cli-cloud-redis-show 描述: 显示Redis连接URL。需要身份验证。用于Agentuity云平台操作 版本: “0.0.103” 许可证: Apache-2.0 允许的工具: “Bash(agentuity:*)” 元数据: 命令: “agentuity cloud redis show” 标签: “只读 快速 需要认证”
云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 |