code: def keypair_add(name, pubfile=None, pubkey=None, profile=None, **kwargs):
      '''
      Add a keypair to nova (nova keypair-add)
  
      CLI Examples:
  
      .. code-block:: bash
  
          salt '*' nova.keypair_add mykey pubfile='/home/myuser/.ssh/id_rsa.pub'
          salt '*' nova.keypair_add mykey pubkey='ssh-rsa <key> myuser@mybox'
      '''
      conn = _auth(profile, **kwargs)
      return conn.keypair_add(
          name,
          pubfile,
          pubkey
      f keypair_add(name, pubfile=None, pubkey=None, profile=None, **kwargs):
      '''
      Add a keypair to nova (nova keypair-add)
  
      CLI Examples:
  
      .. code-block:: bash
  
          salt '*' nova.keypair_add mykey pubfile='/home/myuser/.ssh/id_rsa.pub'
          salt '*' nova.keypair_add mykey pubkey='ssh-rsa <key> myuser@mybox'
      '''
      conn = _auth(profile, **kwargs)
      return conn.keypair_add(
          name,
          pubfile,
          pubkey
      )
docs: Add a keypair to nova (nova keypair-add)
  
      CLI Examples:
  
      .. code-block:: bash
  
          salt '*' nova.keypair_add mykey pubfile='/home/myuser/.ssh/id_rsa.pub'
          salt '*' nova.keypair_add mykey pubkey='ssh-rsa <key> myuser@mybox'