SalesforceCommerceCloud / sfcc-ci

Salesforce Commerce Cloud CLI
https://npmjs.com/package/sfcc-ci
BSD 3-Clause "New" or "Revised" License
231 stars 93 forks source link

SLAS Add Client: --tenant option ignored #307

Open rsexton404 opened 2 years ago

rsexton404 commented 2 years ago

A user reported an issue to support (see Slack thread) where they were getting the following error message when adding a SLAS client:

Failed to lookup secret SFCC_SCAPI_TENANTID

Although the --tenant option was provided, the tool seems to be expecting the tenant ID to come from an environment variable. If the environment variable is needed and it is not set, it should be set to the value of the --tenant option.

Also, the error message doesn't seem to accurately describe what's going on.

clavery commented 2 years ago

It would help to get a test of this with the latest version. I am not able to replicate