The authentication credentials are placed on the URL like so: http://user:password@localhost:9092. For the CLI set the KAPACITOR_URL env var.
That being said open source Kapacitor doesn't have a fully implemented auth backend implementation, meaning any set of credentials will be accepted. On Fri, Nov 4, 2016 at 7:22 AM, <[email protected]> wrote: > On Thursday, November 3, 2016 at 2:06:18 PM UTC-4, [email protected] > wrote: > > I have turned on authentication feature in kapacitor cli. > > [http] > > # HTTP API Server for Kapacitor > > # This server is always on, > > # it servers both as a write endpoint > > # and as the API endpoint for all other > > # Kapacitor calls. > > bind-address = ":9092" > > auth-enabled = true > > > > When i use api call and pass authentication, say while creating, > querying kapacitor everything works. But now command cli complains about > authentication not provided. How can i provide authentication at cli level. > > > > # kapacitor list tasks > > ID Type Status Executing Databases > and Retention Policies > > unable to parse authentication credentials > > > > kapacitor list templates > > ID Type Vars > > unable to parse authentication credentials > > Can any one reply to this question i have? I cant find anywhere in the > documentation how to pass authentication with kapacitor CLI once auth has > been enabled? > > -- > Remember to include the version number! > --- > You received this message because you are subscribed to the Google Groups > "InfluxData" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/influxdb. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/influxdb/44b8b67b-faeb-4bb1-909f-75952a5111ca%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Sean Beckett Director of Support and Professional Services InfluxDB -- Remember to include the version number! --- You received this message because you are subscribed to the Google Groups "InfluxData" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/influxdb. To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/CALGqCvMQ0pUz0JYyUOAJFft3P_2TCEomHi7MmTr2eF9bgBGsKA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
