'Create a new PublicKeyInstance
:param unicode public_key: URL encoded representation of the public key
:param unicode friendly_name: A human readable description of this 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'

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)
