influx-cli icon indicating copy to clipboard operation
influx-cli copied to clipboard

Add skip-verify to the influx config as an optional field

Open russorat opened this issue 4 years ago • 4 comments

with #208 you can avoid adding skip-verify to your requests, but it would be nice to configure that as part of your config profile so that you could adjust it based on the instance you are connecting to.

this issue would add an additional option to the configs file that would allow you to specify if you wanted to skip-verify or not.

this would also update the command to create and edit those configs to allow the user to specify that option

this would also update the other commands to look for that flag when setting the config profile.

russorat avatar Jul 28 '21 15:07 russorat

@russorat would you also want influx setup to set the new config value based on whether or not --skip-verify was passed to it?

danxmoran avatar Jul 28 '21 22:07 danxmoran

yep! good catch!

russorat avatar Jul 29 '21 14:07 russorat

Has this already been implemented so the user can specify the flag --skip-verify or the environment variable INFLUX_SKIP_VERIFY?

Forbzy avatar Oct 04 '21 11:10 Forbzy

@Forbzy this is a separate issue but yes, INFLUX_SKIP_VERIFY has been implemented as of CLI v2.1.0. You'll need to download it from the GitHub release or our downloads portal for now; we haven't set up publishing of the new CLI to our deb/rpm repos yet.

danxmoran avatar Oct 04 '21 13:10 danxmoran