-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Keyfile dict can be dict not str (#29135)
* Keyfile dict can be dict not str This makes it much easier to define a connection with json. We can do this: ```json {"extra": {"keyfile_dict": {"foo": "bar", "private_key": "hi"}}} ``` Instead of this: ```json {"extra": {"keyfile_dict": "{\"foo\": \"bar\", \"private_key\": \"hi\"}"}} ``` I.e. instead of json-dumping the contents of the key first, we can just paste the key as is into the "keyfile_dict" field in extra. Co-authored-by: Jed Cunningham <66968678+jedcunningham@users.noreply.github.com>
- Loading branch information
1 parent
bfbe2cb
commit cf90a1a
Showing
2 changed files
with
42 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters