OAuth Token authentication with CLI

Hello!

Right now the only way to authenticate with the CLI tool is to provide ClientId and ClientSecret (via command line or Profiles file). But, do you know if it's planned to allow just setting directly the OAuth Token (like the Archy tool does)?

Thank you!

Hi Adrian,

That seems reasonable. I'll bring this up in our team meeting today. We could look to have this feature added quite soon because it wouldn't be difficult to implement.

Also, just to let you know support for environment variables has been added recently.
The priority of credentials from highest to lowest is:

  1. Parameter overrides
  2. Environment variables
  3. Config file profile

See Environment Variables in the README for more info.

Ok, thank you Ronan!

Hello

Is this planned to be released soon?

Thank you!

Hello Ronan

Could you tell me if finally this is planned to be added soon? I've seen it is not included in yesterday's new version.

Thanks!

Hi Adrian,

This feature is currently in review. I'll reply to this topic when it has been released.

Oh ok, thank you Ronan :smiley:

Hi Adrian,

Version 22.0.0 of the CLI has been released with this feature. The access token can be provided through the following methods in increasing priority:

  1. In the profile
  2. Through an environment variable
  3. Parameter override.

The README contains some more detailed information on using access tokens.

Thanks for suggesting this feature.

Ok, thank you for your help, Ronan :smiley:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.