lib/bolt/application.rb
# Generate a keypair using the configured secret plugin.
#
# @param force [Boolean] Forcibly create a keypair.
# @param plugin [String] The secret plugin to use.
# @return [Boolean]
#
Generate a keypair using the configured secret plugin.
Generate a keypair using the configured secret plugin .
def create_secret_keys(force: false, plugin: 'pkcs7')
      unless plugins.by_name(plugin)
        raise Bolt::Plugin::PluginError::Unknown, plugin
      end
      plugins.get_hook(plugin, :secret_createkeys)
             .call('force' => force)
    end
def create_secret_keys ( force : false , plugin : 'pkcs7' ) unless plugins . by_name ( plugin ) raise Bolt :: Plugin :: PluginError :: Unknown , plugin end plugins . get_hook ( plugin , :secret_createkeys ) . call ( 'force' => force ) end
Generate a keypair using the configured secret plugin.
Generate a keypair using the configured secret plugin .
None
Boolean
force
Forcibly create a keypair.
Forcibly create a keypair .
plugin
The secret plugin to use.
The secret plugin to use .