diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-09-10 23:11:15 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-09-10 23:11:15 +0200 |
commit | b46c1b0811a6391dd3dbb6c91d079f3fea5081e1 (patch) | |
tree | 3fd14bd51e88392df9822a8544c1c039d7982036 /src/utils/vyos-config-to-json | |
parent | d39567c977c84f1c16998947e16d397edbb015be (diff) | |
download | vyos-1x-b46c1b0811a6391dd3dbb6c91d079f3fea5081e1.tar.gz vyos-1x-b46c1b0811a6391dd3dbb6c91d079f3fea5081e1.zip |
wireguard: T3642: directly import keys to CLI when run in config mode
vyos@vyos# run generate pki wireguard key-pair install interface wg10
"generate" CLI command executed from config session.
Generated private-key was imported to CLI!
Use the following command to verify: show interfaces wireguard wg10
Corresponding public-key to use on peer system is: 'hGaWcoG7f+5sPAUY/MNQH1JFhsYdsGTecYA9S2J8xGs='
vyos@vyos# run generate pki wireguard preshared-key install interface wg10 peer vyos
"generate" CLI command executed from config session.
Generated preshared-key was imported to CLI!
Use the following command to verify: show interfaces wireguard wg10
vyos@vyos# show interfaces wireguard wg10
+peer vyos {
+ preshared-key OwTALZy8w6VIBMxUwbOv6Ys7QMyhrtY4aw+0cUjmmCw=
+}
+private-key 0Pu95CejvCUCCwrTW39TCYnitESWAdIIFTVJb7UgxVU=
[edit]
Diffstat (limited to 'src/utils/vyos-config-to-json')
0 files changed, 0 insertions, 0 deletions