简体   繁体   English

IBM Cloud AppID:如何更改 Cloud Directory 中用户的密码?

[英]IBM Cloud AppID: How to change password for user in Cloud Directory?

I have an app utilizing IBM Cloud AppID for user management.我有一个使用 IBM Cloud AppID 进行用户管理的应用程序。 My users are managed using the Cloud Directory.我的用户使用 Cloud Directory 进行管理。 They can sign up on their own and also request to reset their password.他们可以自己注册,也可以要求重设密码。

If I added (test) users without a valid email address, how can I change their passwords?如果我添加(测试)用户没有有效的 email 地址,我该如何更改他们的密码? There is no UI for it.它没有用户界面。

You could use the AppID management API to change the password .您可以使用AppID 管理 API 来更改密码 You can find the AppID APIs in the security category of all IBM Cloud API docs .您可以在 所有 IBM Cloud API 文档的安全类别中找到 AppID API。

Either call that API via curl or use the Swagger form .通过curl 调用 API或使用Swagger 形式 You would need an IAM API key or token, your AppID tenantID, the user's uuid and then provide the new password to set.您需要一个 IAM API 密钥或令牌、您的 AppID 租户 ID、用户的 uuid,然后提供新密码进行设置。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM