Closed qjhart closed 2 weeks ago
Although it hasn't been moved to production, I used updates in #375765d to add these to the existing keycloak setup.
First I saved the users with:
bin/experts-keycloak.js --users | jq . | tee users.json
Then, I updated the users with:
bin/experts-keycloak.js --users | jq -r '.[]|.email' | xargs bin/experts-keycloak.js --add=iamId --log=error
We added ucdPersonUUID to the a users' keycloak environment, but this is based on mothraId, and may not be used for future users. The IAM team suggest that we use the iamId entry, because that will continue. They also suggested that iamId is public data, so that's an added benefit.