An authID is for a specific account and role
# sdf
e
An authID is for a specific account and role
s
is the authid just a string I can make up that acts as a key for the account/role combo? I'd kinda expect the tool to do that, at least by default?
I was kinda assuming there would be some default authid generated if I gave it account and chose a role.. (e.g. '12345_55' or something)
e
The Auth ID is just a made up string, yes
You create it when you add a new token, for instance
So I have Auth IDs like
clientName-SB1
s
hmm, I'm not sure I like having to come up with a naming convention for this
e
What would you prefer/
s
in the past, it was unambiguous because you had to specify account and role on the commandline as explicit options
now it sounds like we need to come up with a naming convention (and remember it?)
also, I'm confused as to why the help specifically states that
authid
is optional and that a default will be used, and that
account
is required, yet the command bails when I only give it
account
e
Because you can't just authenticate to an account; you also need email, role, and url
so if you don't want to use auth IDs, you just stick to providing those details instead
s
it sounds like 20.2 using the individual options is no longer allowed
also, I've never understood why we have to specify a
-url
- the account number should be sufficient for the tool to know the url. though that's another topic I guess.
e
I guess I don't know how to help
s
you've been helpful @erictgrubaugh!- just knowing that 'authid' is just a string used to identify the saved credentials clears that up for me.
you certainly can't fix the confusing (broken?) docs 🙂
a
Url is no longer required. Url used to be required when sandbox and production were on different domains
I believe there are plans to auto-generate authids. The idea of auth id is that you can provide a meaningful name rather than a series of numbers (account ID) with some role relationship
s
I appreciate the flexibility, and maybe there could be an alias (alternate key), but I feel having a default would help with consistency. Is there a way to list all authids you've used on a given machine?
a
I believe that's coming
Actually, you'll be able to use authentications set up in your machine from Node CLI, WebStorm and Java CLI
So you can use tools for whatever fits you best. Maybe "Upload File" through WebStorm for better experience but then deploy through CLI
s
yes, that sounds like a wise design choice
especially if all the tools share a common java backend anyway 🙂
a
yep
s
I haven't used the webstorm plugin much due to its recurring issues with webstorm versions - I always keep my webstorm up to date.
a
yeah, we are getting better at that
👍 2