kybus-cli 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/kybus/cli/ssl.rb +20 -1
- data/lib/kybus/cli/version.rb +1 -1
- metadata +3 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1891d7108739aa17cacb04fc119f77c1e86fbf0a0a805052f828a041edec04b6
|
|
4
|
+
data.tar.gz: 04a841b15c61ca3a67b39025edf15757f0214e495914a27c4a9c1751c1f2b7ce
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8a739e31f52bf639784e92f3bc96919fe2d49298c6cdfedd07b5bb6930ee02d1e3549a17cc054a0633628258e1299166671c9916d3151928774bac5dc26d32d9
|
|
7
|
+
data.tar.gz: 977869a639f402e5c9aa4cf267c0822d1d28a469ad5d6358b5aeb55c352c59c1355c9bfd40df910d46f06200d518facceefaf9d589c82b56b17dfafa9000243b
|
data/lib/kybus/cli/ssl.rb
CHANGED
|
@@ -51,10 +51,29 @@ module Kybus
|
|
|
51
51
|
Kybus::SSL::CLI::AddCertificate.new(options.merge(pki_file: "#{options[:path]}/pki.yaml")).run
|
|
52
52
|
end
|
|
53
53
|
|
|
54
|
+
desc 'update-crl', 'Generate the CRL'
|
|
55
|
+
method_option :path, type: :string, desc: 'PKI root path', required: true
|
|
56
|
+
|
|
54
57
|
def update_crl
|
|
55
58
|
Kybus::SSL::CLI::UpdateCRL.new(options.merge(pki_file: "#{options[:path]}/pki.yaml")).run
|
|
56
59
|
end
|
|
57
60
|
|
|
61
|
+
desc 'revoke-certificate', 'Mark a client certificate as revoked'
|
|
62
|
+
method_option :name, type: :string, desc: 'Certificate name', required: true
|
|
63
|
+
method_option :path, type: :string, desc: 'PKI root path', required: true
|
|
64
|
+
|
|
65
|
+
def revoke_certificate
|
|
66
|
+
Kybus::SSL::CLI::RevokeCertificate.new(options.merge(pki_file: "#{options[:path]}/pki.yaml")).run
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
desc 'unrevoke-certificate', 'Unmark a client certificate as revoked'
|
|
70
|
+
method_option :name, type: :string, desc: 'Certificate name', required: true
|
|
71
|
+
method_option :path, type: :string, desc: 'PKI root path', required: true
|
|
72
|
+
|
|
73
|
+
def unrevoke_certificate
|
|
74
|
+
Kybus::SSL::CLI::UnrevokeCertificate.new(options.merge(pki_file: "#{options[:path]}/pki.yaml")).run
|
|
75
|
+
end
|
|
76
|
+
|
|
58
77
|
desc 'build', 'Builds the certificates listed in the PKI file'
|
|
59
78
|
|
|
60
79
|
def build
|
|
@@ -62,4 +81,4 @@ module Kybus
|
|
|
62
81
|
end
|
|
63
82
|
end
|
|
64
83
|
end
|
|
65
|
-
end
|
|
84
|
+
end
|
data/lib/kybus/cli/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: kybus-cli
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Gilberto Vargas
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: aws-sdk-cloudwatchlogs
|
|
@@ -178,7 +177,6 @@ metadata:
|
|
|
178
177
|
homepage_uri: https://github.com/tachomex/kybus
|
|
179
178
|
source_code_uri: https://github.com/tachomex/kybus
|
|
180
179
|
rubygems_mfa_required: 'true'
|
|
181
|
-
post_install_message:
|
|
182
180
|
rdoc_options: []
|
|
183
181
|
require_paths:
|
|
184
182
|
- lib
|
|
@@ -193,8 +191,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
193
191
|
- !ruby/object:Gem::Version
|
|
194
192
|
version: '0'
|
|
195
193
|
requirements: []
|
|
196
|
-
rubygems_version: 3.
|
|
197
|
-
signing_key:
|
|
194
|
+
rubygems_version: 3.6.7
|
|
198
195
|
specification_version: 4
|
|
199
196
|
summary: CLI for managing Kybus projects
|
|
200
197
|
test_files: []
|