operator icon indicating copy to clipboard operation
operator copied to clipboard

refactor auth options for components

Open f41gh7 opened this issue 3 years ago • 2 comments
trafficstars

Unify auth options with HTTPAuth. Check the following:

  1. Check basicAuth correctly uses passwordFile option.
  2. OAuth2 - adds it for remote options
  3. bearerToken - add for remote options

f41gh7 avatar Sep 05 '22 08:09 f41gh7

@f41gh7 I'd like to divide this into following tasks:

  • [x] unify oauth2 field tag with "oauth2" Will introduce breaking change in vmalert config, now using "OAuth2".
  • [x] modify TokenFilePath under BearerAuth with "bearerTokenFile", the same with others under scrape objects. Will introduce breaking change in vmalert config, now using "bearerTokenFilePath".
  • [ ] unify/implement HTTPAuth for vmagent.remoteWriteSpec, scrape objects... Shouldn't introduce any breaking change to user.

Haleygo avatar Jul 17 '23 04:07 Haleygo

@Haleygo could you please update me on the state of this ticket?

hagen1778 avatar May 06 '24 07:05 hagen1778