code: def create(self, public_key, friendly_name=values.unset,
                 account_sid=values.unset):
          
          data = values.of({
              'PublicKey': public_key,
              'FriendlyName': friendly_name,
              'AccountSid': account_sid,
          })
  
          payload = self._version.create(
              'POST',
              self._uri,
              data=data,
          )
  
          return PublicKeyInstance(self._version, payload, )
docs: Create a new PublicKeyInstance
  
          :param unicode public_key: A URL encoded representation of the public key
          :param unicode friendly_name: A string to describe the resource
          :param unicode account_sid: The Subaccount this Credential should be associated with.
  
          :returns: Newly created PublicKeyInstance
          :rtype: twilio.rest.accounts.v1.credential.public_key.PublicKeyInstance