InfluxDB Docs

influx secret update

The influx secret update command adds and updates secrets. Provide the secret key with the -k or --key flag. You may also provide the secret value with the -v or --value flag. If you do not provide the secret value with the -v or --value flag, enter the value when prompted.

Providing a secret value with the -v or --value flag may expose the secret in your command history.

Usage

influx secret update [flags]

Flags

FlagDescriptionInput typeMaps to ?
-h, --helpHelp for the update command
--hide-headersHide table headers (default false)INFLUX_HIDE_HEADERS
--jsonOutput data as JSON (default false)INFLUX_OUTPUT_JSON
-k, --key(Required) Secret keystring
-o, --orgOrganization namestringINFLUX_ORG
--org-idOrganization IDstringINFLUX_ORG_ID
-v, --valueSecret valuestring

Global Flags

FlagDescriptionInput typeMaps to ?
--hostHTTP address of InfluxDB (default http://localhost:9999)stringINFLUX_HOST
--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 callsstringINFLUX_TOKEN

New! Cloud or OSS?