Class: Hiera::Backend::Eyaml::Subcommands::Createkeys
- Inherits:
-
Hiera::Backend::Eyaml::Subcommand
- Object
- Hiera::Backend::Eyaml::Subcommand
- Hiera::Backend::Eyaml::Subcommands::Createkeys
- Defined in:
- lib/hiera/backend/eyaml/subcommands/createkeys.rb
Class Method Summary collapse
Methods inherited from Hiera::Backend::Eyaml::Subcommand
all_options, attach_option, find, hidden?, load_config_file, parse, prettyname, validate
Class Method Details
.description ⇒ Object
12 13 14 |
# File 'lib/hiera/backend/eyaml/subcommands/createkeys.rb', line 12 def self.description 'create a set of keys with which to encrypt/decrypt eyaml data' end |
.execute ⇒ Object
16 17 18 19 20 |
# File 'lib/hiera/backend/eyaml/subcommands/createkeys.rb', line 16 def self.execute encryptor = Encryptor.find Eyaml.default_encryption_scheme encryptor.create_keys nil end |
.options ⇒ Object
8 9 10 |
# File 'lib/hiera/backend/eyaml/subcommands/createkeys.rb', line 8 def self. [] end |