weaviate向量数据库


(1)允许匿名访问(仅测试环境)
 curl http://localhost:8080/v1/schema  # 应返回 200


(2)API Key 认证
curl -H "Authorization: Bearer my-secret-key" http://localhost:8080/v1/schema
curl -H "Authorization: Bearer 密码" http://localhost:8080/v1/schema


(3)OIDC 认证(生产推荐)
curl -H "Authorization: Bearer YOUR_OIDC_TOKEN" http://localhost:8080/v1/schema