Authentication
To interact with the Shopware Account API, you need to authenticate yourself.
For this, you need to log in using:
bash
shopware-cli account loginand it will open a browser window for you to log in.
For CI/CD pipelines, you should pass SHOPWARE_CLI_ACCOUNT_EMAIL and SHOPWARE_CLI_ACCOUNT_PASSWORD as environment variables and call directly the command you want to use.
INFO
For CI/CD tasks you should create a dedicated Shopware Account with limited access to the Shopware Store.