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

config pull overwrites env variable credentials

Open SkaveRat opened this issue 2 years ago • 1 comments

PHP Version

8.1 / 8.2

Shopware Version

6.5.6

Plugin Version

0.4.13

Actual behaviour

admin_api.client_id and admin_api.client_secret get overwritten from $SHOPWARE_CLI_CLIENT_ID / $SHOPWARE_CLI_CLIENT_SECRET to whatever was used in the call

Expected behaviour

The values not being overwritten

Steps to Reproduce?

Use env vars in the config and pull the config

SkaveRat avatar Jan 19 '24 16:01 SkaveRat

I could fix it only for client_id, client_secret and username and password

would that be fine? @SkaveRat ?

shyim avatar Apr 17 '24 19:04 shyim