mirror of
https://github.com/ovh/the-bastion.git
synced 2025-01-09 08:47:50 +08:00
13 lines
593 B
JSON
13 lines
593 B
JSON
|
{
|
||
|
"interactive": [
|
||
|
"selfGenerateEgressKey" , {"ac" : ["--algo"]},
|
||
|
"selfGenerateEgressKey --algo" , {"ac" : ["rsa", "ecdsa", "ed25519"]},
|
||
|
"selfGenerateEgressKey --algo \\S+" , {"ac" : ["--size"]},
|
||
|
"selfGenerateEgressKey --algo \\S+ --size" , {"pr" : ["<SIZE>"]},
|
||
|
"selfGenerateEgressKey --algo \\S+ --size \\d+" , {"ac" : ["<enter>", "--encrypted"]},
|
||
|
"selfGenerateEgressKey --algo \\S+ --size \\d+ --encrypted" , {"pr" : ["<enter>"]}
|
||
|
],
|
||
|
"master_only": true,
|
||
|
"terminal_mode": "raw"
|
||
|
}
|