apify-cli icon indicating copy to clipboard operation
apify-cli copied to clipboard

Apify CLI to support organizations the same way Apify Console does

Open mtrunkat opened this issue 2 years ago • 2 comments

Apify CLI should support the organizations in an equal way to Apify Console UI, i.e., the user should be able to push Actor under their own account or under the organization.

The current workaround is to log out and call apify login with the organization token, but that is not comfortable.

There are multiple options. We could, for example, allow the storing of multiple accounts (profiles) in .apify/credentials file as AWS does: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html and allow people to easily switch between profiles.

Or we could add a parameter i (= impersonate) allowing to impersonate an organization in the command:

apify push -i=apify

The CLI would then fetch a user's token impersonating the organization and perform the command.

mtrunkat avatar Nov 27 '23 14:11 mtrunkat

Link to feature: https://apify.productboard.com/feature-board/planning/features/24835644

mtrunkat avatar Nov 27 '23 14:11 mtrunkat

Going through old issues and found #115 which seems pretty similar (feels almost like a duplicate).

edit: and also #94

B4nan avatar Mar 11 '24 12:03 B4nan