I am trying to create a secret in Databricks in Git Bash. I created a scope, but when I try to enter the secret value I get:
$ databricks secrets put-secret $SCOPE $KEYNAME
v Please enter your secret value:
Error: ^D
I am only typing in that first line with the appropriate Scope name and Key name, and then pressing enter, but then that error pops up. Is this just a quirk of git bash? Am I doing it all wrong? I will say that the code databricks has in their documentation isn't working for me, which should have been the first sign something was wrong.
Probably a quirk of Windows git bash. See https://en.wikipedia.org/wiki/End-of-Transmission_character for an explanation of ^D. My best guesses would be that you're trying to use ctrl-v on the terminal, which doesn't paste but instead makes the next control code literal ( https://en.wikipedia.org/wiki/Control-V ) and then trying to use ctrl-d ; or one of the files or input streams you're using is empty ; or there's something wrong deep inside how git bash interprets something and you'll never figure it out.