Add a flag to sfdx force:org:list --all --json to show the accessToken unencrypted for every connected environment
See original GitHub issueIs your feature request related to a problem? Please describe.
When I run sfdx force:org:display --json
the accessToken is unecrypted. I can just get it and use on my requests with Postman.
But when I run sfdx force:org:list --all --json
the accessTokens for every connected org are encrypted.
What are you trying to do
I need to get all the access tokens for all my connected orgs with one command. Currently, I have to keep running sfdx force:org:display
for every environment just to get the access token.
Describe the solution you’d like
Add a new flag to this command sfdx force:org:list --all -t --json
so it will display the access token unencrypted. Or just don’t encrypt the access token.
Describe alternatives you’ve considered
Maybe there is a way for me to unencrypt it. I saw a .key inside .sfdx
. Can I use that? if yes, how would the process be?
Additional context N/A
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:8 (3 by maintainers)
Yes, in
latest
as of 4 days ago (updates go through a latest-rc, then promoted to latest the following week).@AllanOricil we’ve fixed this in the new plugin-org, which fixes a number of other bugs and performance issues.
If you’d like to try it out early (before it gets bundled into the CLI), you can install it manually: https://github.com/salesforcecli/plugin-org#install