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

Enable to pass APIFY_TOKEN as a parameter or enviroment variable #720

Open
JJetmar opened this issue Jan 2, 2025 · 0 comments
Open

Enable to pass APIFY_TOKEN as a parameter or enviroment variable #720

JJetmar opened this issue Jan 2, 2025 · 0 comments
Assignees
Labels
t-tooling Issues with this label are in the ownership of the tooling team.

Comments

@JJetmar
Copy link

JJetmar commented Jan 2, 2025

It was mentioned in #702 (comment) and I basically ran into the same today.

wanted to use apify-cli for one-time apify run under specific user without a need to do extra logins.

I blindly tried something like:

my@localhost:~/Projects/my-actor> APIFY_TOKEN=MY_APIFY_TOKEN apify info

username: loggedInUserName
userId: loggedInUserId

but it returns the logged-in user instead of the one from passed APIFY_TOKEN. Based on the previous mention I expect it is not currently possible.

I am opening this issue to discuss/track this feature request.

@github-actions github-actions bot added the t-tooling Issues with this label are in the ownership of the tooling team. label Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t-tooling Issues with this label are in the ownership of the tooling team.
Projects
None yet
Development

No branches or pull requests

2 participants