Add Consumer Key and Consumer Secret as configuration values #2725
davescruggs
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
Can you describe what command(s) would need this? Is this for JWT ? The |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Request: allow the consumer key and consumer secret to be stored in configuration values so they don't have to be passed as arguments.
It's a best practice to create a connected app for Salesforce DX and CLI authentication: https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_auth_connected_app.htm
The consumer key and consumer secret are inconvenient to use with the CLI, difficult to use in CI/CD applications (although that's typically JWT), and aren't easy (possible?) to pass through to the VS Code plugins. Consumer secrets are passed as prompts.
If the CLI could default to using config values, then the settings could be done once, and passed through to the VS Code plugins.
Beta Was this translation helpful? Give feedback.
All reactions