-
Notifications
You must be signed in to change notification settings - Fork 18
Description
As a user
I want to be able to synchronise AppStore Connect users with a file
So that I can keep my user configuration in source control and practice infrastructure-as-code principles with AppStore Connect.
I should be able to have a file that contains the canonical information about users in App Store Connect.
Ideally this command should not require state. It would consider the input files as the canonical source of information and push that into the AppStore Connect API.
You would have a file (yaml, csv, json) on disk that would have all the details of users, their roles and the apps they should have access to. If the CLI had the right level of permissions on the account it could create/delete/modify all users.
--dry-run option that only prints what would happen and doesn't actually take action on the AppStore Connect API.
🚨Note that this sync function should never delete users with the ACCOUNT_HOLDER role. It probably can't anyway but it shouldn't try.