You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The environment variable method also does not appear to work. The only available method seems to be the post-installation configuration, which is problematic for container deployments.
With the 3.0.0 (and now 3.0.1) release, we moved away from the --bearer-token argument for starting the server with authorization enabled.
Now, the server, started with influxdb3 serve, will start with authorization enabled by default. You must create a token with the influxdb3 create token --admin command, and pass that in the Authorization header. This is outlined in the CLI help output (influxdb3 serve --help or influxdb3 serve --help-all):
Steps to reproduce:
List the minimal actions needed to reproduce the behaviour.
influxdb3 serve
with the--bearer-token
flagINFLUXDB3_BEARER_TOKEN
Expected behaviour:
The
--bearer-token
flag should work as documented in the official documentation at https://docs.influxdata.com/influxdb3/core/reference/config-options/#bearer-token. The server should start with the specified bearer token configured.Actual behaviour:
The CLI reports an error when using the
--bearer-token
flag:The environment variable method also does not appear to work. The only available method seems to be the post-installation configuration, which is problematic for container deployments.
Environment info:
influxdb3 serve --bearer-token=<token>
Linux x86_64 5.15.0-76-generic
Config:
No additional configuration was used beyond the CLI arguments shown above.
Logs:
The error message shown above is the only output received.
The text was updated successfully, but these errors were encountered: