Security note

Adobe recommends using the environment variable method with your cloud project to prevent accidental exposure of your authorization credentials.

The authentication file method is ideal when using Cloud Docker for Commerce as a local development tool, but be careful not to upload the auth.json file to a public Git-based repository. You can add the auth.json file to the .gitignore file.