当前位置: 首页 > news >正文

milvus用户管理

milvus:2.5.14

 

1.创建用户

在milvus服务器上执行

export CLUSTER_ENDPOINT="http://localhost:19530"
export TOKEN="root:Milvus"curl --request POST \
--url "${CLUSTER_ENDPOINT}/v2/vectordb/users/create" \
--header "Authorization: Bearer ${TOKEN}" \
--header "Content-Type: application/json" \
-d '{"userName": "hxl","password": "hl123456"
}'

 

2.更新密码

export CLUSTER_ENDPOINT="http://localhost:19530"
export TOKEN="root:Milvus"
curl --request POST \
--url "${CLUSTER_ENDPOINT}/v2/vectordb/users/update_password" \
--header "Authorization: Bearer ${TOKEN}" \
--header "Content-Type: application/json" \
-d '{"newPassword": "hxl123456","userName": "hxl","password": "hl123456"
}'

 

http://www.vanclimg.com/news/2500.html

相关文章:

  • 比FTP更懂中国企业:国产FTP替代方案重构文件传输体验
  • Ubuntu搭建Discuz论坛教程
  • prompt-optimizer提示词优化搭建
  • 洛谷题单指南-状态压缩动态规划-P4484 [BJWC2018] 最长上升子序列
  • 【2025-07-27】连岳摘抄
  • PixelMaster 全球登榜!我们不仅在中国冲进 Top 3,还有这些国家也上榜了!
  • PixelMaster 冲榜!中国大陆 App Store 图形与设计类第 3 名!
  • 线程与协程的区别 - Charlie
  • web项目规范配置(husky、eslint、lint-staged、commit)
  • ObservableValidator 详解:WPF 中的 MVVM 数据校验入门指南
  • DP - 状压 dp
  • postgres启用归档模式
  • 交底注意事项
  • AutoCAD2026界面底部状态栏不见了,如何找回?
  • 3D建模利器:Substance 3D Stager 3.1.3 安装与基础使用指南
  • windows 下go run,go build速度慢
  • MySQL如何查看每个分区的数据量
  • 人工智能驱动企业:通过情境感知AI重塑组织2不受束缚的企业
  • 美颜的功能分类有哪些?
  • PGSQL运维优化:提升vacuum执行时间观测能力
  • day08
  • 对比4款主流美颜App,谁才是自拍王者?
  • 基于Java+Springboot+Vue开发的房产销售管理系统源码+运行步骤
  • openlayers v10.3.0更新
  • macOS Ventura 13.7.7 (22H722) Boot ISO 原版可引导镜像下载
  • macOS Ventura 13.7.7 (22H722) 正式版 ISO、IPSW、PKG 下载
  • mysql外键
  • macOS Sonoma 14.7.7 (23H723) Boot ISO 原版可引导镜像下载
  • macOS Sonoma 14.7.7 (23H723) 正式版 ISO、IPSW、PKG 下载
  • Netty客户端