InfluxDB Docs

influx secret update

The influx secret update command adds and updates secrets. Provide the secret key with the -k or --key flag. When prompted, enter and confirm the secret value.


influx secret update [flags]


FlagDescriptionInput type
-h, --helpHelp for secret update
-k, --keySecret key (required)string
-o, --orgOrganization namestring
--org-idOrganization IDstring

Global Flags

FlagDescriptionInput type
--hostHTTP address of InfluxDB (default http://localhost:9999)string
--localRun commands against the local filesystem
--skip-verifySkip certificate verification (use when connecting over TLS with a self-signed certificate)
-t, --tokenAPI token to use in client callsstring