I tried what you suggest, and what alexdebrie suggests in this post : Log into Serverless Platform on a headless system
But I still get the message “Serverless: Logging you in via your default browser…”
What I tried :
- create an app on my serverless account : “mysuperapp” ;
- create a personal access key : xxxxxxxxxxxxxxx ;
- add the following to my serverless.yml :
tenant: mytenantname app: mysuperapp [...] environment: SERVERLESS_ACCESS_KEY: xxxxxxxxxxxxxxx
- then I run ‘sls login’ at the same level of my serverless.yml, and get the message “Serverless: Logging you in via your default browser…”.
Is there something wrong ?