API 在 CAM 中获得 access_token

API to obtain an access_token in CAM

我刚刚尝试从最新的 API 中获取 access_token,但遇到了 404 错误。我以前可以通过在 https://<ip>:30000/cam/v1/auth/camtoken

上使用 POST 来做到这一点

新的安全模型在这方面有什么变化吗?

您需要将camtoken更改为identitytoken,例如:

https://<ip>:30000/cam/v1/auth/identitytoken

在最新的CAM beta代码中,这个token现在由IBM Cloud Private平台提供。