rename_user#

static geetools.ee_authenticate.AuthenticateAccessor.rename_user(new, old='', credential_pathname='')#

Rename a user without changing the credentials.

Parameters:
  • new (str) – The new name of the user

  • old (str) – The name of the user to rename

  • credential_pathname (str) – The path to the folder where the credentials are stored. If not set, it uses the default path

Return type:

None

Example

import ee
import geetools

ee.Authenticate.geetools.new_user("old")
ee.Authenticate.geetools.rename_user("new", "old")
ee.Initialize.geetools.from_user("new")
ee.Number(1).getInfo()