Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Multiple Teams #20

Merged
merged 4 commits into from
Nov 19, 2020
Merged

Support for Multiple Teams #20

merged 4 commits into from
Nov 19, 2020

Conversation

Blackjacx
Copy link
Owner

@Blackjacx Blackjacx commented Nov 19, 2020

Changes

Support for multiple teams

The basics of supporting the registration of multiple teams enables us to support multiple teams too. Now, whenever you have more than one key registered, the tool asks you which one you want to use. With this you can operate on multiple teams.

Implement API key registration (no env variables anymore)

API key parameters (key path, key id, issuer id) are now stored in
user defaults instead of retrieved from the environment.

This enables the registration of one App Store Connect API key for
each of your teams and loosens the rstriction to only one API key.

All ASC commands can now operate on all teams if desired.
Alternatively each command can ask for which team the action
should be performed.

Usage of operations and operation queues

Subcommand api-keys uses operations under the hood wich will also be the new standard in future. Next big step is to remove the huge enum class and create nice little operation classes for each. Implementation of the command pattern is coming 🎉

Issues

@Blackjacx Blackjacx changed the title Support Multiple Teams Support for Multiple Teams Nov 19, 2020
API key parameters (key path, key id, issuer id) are now stored in
user defaults instead of retrieved from the environment.

This enables the registration of one App Store Connect API key for
each of your teams and loosens the rstriction to only one API key.

All ASC commands can now operate on all teams if desired.
Alternatively each command can ask for which team the action
should be performed.
@Blackjacx Blackjacx force-pushed the api-key-registration branch from de1d8cd to 1a6fd32 Compare November 19, 2020 18:10
@Blackjacx Blackjacx merged commit 8838487 into develop Nov 19, 2020
@Blackjacx Blackjacx deleted the api-key-registration branch November 19, 2020 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ASC] Add support for multiple teams
1 participant