Discussion:
[influxdb] how to pass authentication to kapacitor cli after turning on auth feature
k***@gmail.com
2016-11-03 18:06:18 UTC
Permalink
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
--
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 influxdb+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
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/eff2906c-3a40-4145-8bd5-d3c7c1089200%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
k***@gmail.com
2016-11-04 14:22:42 UTC
Permalink
Post by k***@gmail.com
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 influxdb+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
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.
k***@gmail.com
2016-11-04 16:27:44 UTC
Permalink
when you say not fully implemented what are the things that are implemented. Is any post to kapacitor auth enabled? Like posting/updating tasks/templates
--
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 influxdb+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
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/d8e18e8d-4c92-46a5-8e05-a2bc09f87c4d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
k***@gmail.com
2016-11-04 17:45:44 UTC
Permalink
Thanks and i just confirmed it in test environment.
Is there a plan to implemented in opensource kapacitor version down the line just like influxdb has it implemented?
--
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 influxdb+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
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/d5a2482c-c26b-4e14-b058-ecd94d70d988%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
cabrinha via InfluxData
2018-04-16 18:49:27 UTC
Permalink
Post by k***@gmail.com
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
How do I pass these creds in my browser while using httpOut?
--
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 influxdb+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
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/aeaddc2d-7671-4bf0-9e76-e4c222a2b27d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...