since the new version of the suite cloud, I have s...
# sdf
s
since the new version of the suite cloud, I have switched to use this for auth. How would i switch between prod and sandbox
Copy code
const command = `npx suitecloud account:setup:ci --account ${ACCOUNT} --authid "prod" --certificateid ${CERTIFICATEID} --privatekeypath "*****"`
a
Hello, do you mean how would you switch from 1 saved authid to another?
or your question is about
--authid "prod"
s
the first
a
Currently the cli doesn't offer a programmatic way of selecting authids for projects. We have that as an enhancement request. You have 2 choices Before deploying you can always run authenticate command, like above specific to production or SB. Or you can write a small script, to change authids in project.json file in your project, this is the file which defines which authid to use for deploy etc.