You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 27, 2026. It is now read-only.
Seems a silly question but I am missing something.
When I run: platform auth:api-token-login --no-interaction I get:
Non-interactive use of this command is not supported.
To authenticate non-interactively, configure an API token using the PLATFORMSH_CLI_TOKEN environment variable.
Which I expect.
However if I set my environment variable first such as:
export PLATFORMSH_CLI_TOKEN="xxxx"
And then run platform auth:api-token-login --no-interaction I get:
An API token is already set via config
So when I run git fetch platform master for example I am greeted with:
Hello user (UUID: xxxxx), you successfully authenticated, but could not connect to service xxx (reason: access requires MFA)
xxxx@git.eu-2.platform.sh: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Worth adding, I have all my SSH keys correctly added to PlatformSH ssh-keys section.
Am I missing something here or is there a genuine bug.
Seems a silly question but I am missing something.
When I run:
platform auth:api-token-login --no-interactionI get:Which I expect.
However if I set my environment variable first such as:
And then run
platform auth:api-token-login --no-interactionI get:So when I run
git fetch platform masterfor example I am greeted with:Worth adding, I have all my SSH keys correctly added to PlatformSH ssh-keys section.
Am I missing something here or is there a genuine bug.