diff options
author | Niall Sheridan <nsheridan@gmail.com> | 2016-05-29 13:56:01 +0100 |
---|---|---|
committer | Niall Sheridan <nsheridan@gmail.com> | 2016-05-29 13:56:01 +0100 |
commit | 5cbf84c566f648dd7e54a2fdea1b645ef96627b1 (patch) | |
tree | f0487d4a57205c37532dd7104f293ba14fe410d8 /example-client.cfg | |
parent | a4fa16ca0ffc242bdbace084b53d2a9c859b57c2 (diff) | |
parent | 4dfb29f2e07fe6fb90544ba66cf0a3df187072d9 (diff) |
Merge pull request #7 from nsheridan/client_config
client: use a config file in addition to command-line flags
Diffstat (limited to 'example-client.cfg')
-rw-r--r-- | example-client.cfg | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/example-client.cfg b/example-client.cfg new file mode 100644 index 0000000..b9e8232 --- /dev/null +++ b/example-client.cfg @@ -0,0 +1,4 @@ +ca = "https://sshca.example.com" // Address of the cashierd CA +key_type = "rsa" // Type of ssh key to generate - rsa, ecdsa, ed25519 +key_size = 2048 // Size of key to generate. ecdsa must be one of 256, 384, 521. This value is ignored for ed25519 keys. +validity = "24h" // How long the cert will be valid for. Must be a valid go time.Duration. |