Method: PoolParty::Default.store_keys_in_file

Defined in:
lib/poolparty/poolparty/default.rb

.store_keys_in_fileObject

Store the keys in a yaml format to give the master access So that the master has access to the files



75
76
77
78
79
# File 'lib/poolparty/poolparty/default.rb', line 75

def store_keys_in_file
  unless access_key.nil? || secret_access_key.nil?
    write_to_file( key_file_locations.first, YAML::dump({:access_key => access_key, :secret_access_key => secret_access_key}))        
  end
end