Class: Hiera::Backend::Eyaml::Subcommands::Createkeys
Class Method Summary
collapse
all_options, attach_option, find, hidden?, parse, prettyname, validate
Class Method Details
.description ⇒ Object
14
15
16
|
# File 'lib/hiera/backend/eyaml/subcommands/createkeys.rb', line 14
def self.description
"create a set of keys with which to encrypt/decrypt eyaml data"
end
|
.execute ⇒ Object
18
19
20
21
22
|
# File 'lib/hiera/backend/eyaml/subcommands/createkeys.rb', line 18
def self.execute
encryptor = Encryptor.find Eyaml.default_encryption_scheme
encryptor.create_keys
nil
end
|
.options ⇒ Object
10
11
12
|
# File 'lib/hiera/backend/eyaml/subcommands/createkeys.rb', line 10
def self.options
[]
end
|