Method: Chef::ApiClient::Registration#self_generate_keys?

Defined in:
lib/chef/api_client/registration.rb

#self_generate_keys?Boolean

Whether or not to generate keys locally and post the public key to the server. Delegates to Chef::Config.local_key_generation. Servers before 11.0 do not support this feature.

Returns:

  • (Boolean)


171
172
173
# File 'lib/chef/api_client/registration.rb', line 171

def self_generate_keys?
  Chef::Config.local_key_generation
end