    # File lib/fog/joyent/requests/compute/create_key.rb, line 8
            def create_key(params)
              name = params[:name]
              key = params[:key]

              record = {
                "name" => name,
                "key" => key,
                "created" => Time.now.utc,
                "updated" => Time.now.utc
              }

              self.data[:keys][name] = record

              response = Excon::Response.new
              response.status = 201
              response.body = record
              response
            end