chronoctl add-superadmin

This page documents an earlier version of Chronograf. Chronograf v1.9 is the latest stable version. View this page in the v1.9 documentation.

The add-superadmin command creates a new user with superadmin status.


chronoctl add-superadmin [flags]


Flag Description Input type
-b --bolt-path Full path to boltDB file (e.g. ./chronograf-v1.db)" env:“BOLT_PATH” default:“chronograf-v1.db” string
-i --id User ID for an existing user uint64
-n --name User’s name. Must be Oauth-able email address or username.
-p --provider Name of the Auth provider (e.g. Google, GitHub, auth0, or generic) string
-s --scheme Authentication scheme that matches auth provider (default:oauth2) string
-o --orgs A comma-separated list of organizations that the user should be added to (default:“default”) string

Was this page helpful?

Thank you for your feedback!

Upgrade to InfluxDB Cloud or InfluxDB 2.0!

InfluxDB Cloud and InfluxDB OSS 2.0 ready for production.