1 Risposta
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
0
Hi Binfer,
- To set password via sdk look at this reference: https://docs.aws.amazon.com/IAM/latest/APIReference/API_UpdateLoginProfile.html
- to add user to a group: https://docs.aws.amazon.com/IAM/latest/APIReference/API_AddUserToGroup.html
Contenuto pertinente
- AWS UFFICIALEAggiornata 2 anni fa
- AWS UFFICIALEAggiornata 2 anni fa
Thanks, but that works only for IAM and not IAM Identity center. They both appear to have different API's. The identity server client had no UpdateLoginProfile mechanism and the IAM UpdateLoginProfile does not work with users created with the identity center API as identityStoreId is needed for API calls. Ref: https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/services/identitystore/IdentitystoreClient.html
I see. for adding user to a group you could try this? https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/services/identitystore/IdentitystoreClient.html#createGroupMembership(software.amazon.awssdk.services.identitystore.model.CreateGroupMembershipRequest)
To rest password I am not able to find a proper method