Skip to content

Authentication

import up42
up42.authenticate(
    username="<your-email-address>",
    password="<your-password>",
)
  1. Create a credentials.json file.
  2. Paste the following code:
    {
      "username": "<your-email-address>",
      "password": "<your-password>"
    }
    
  3. Authenticate from the created credentials.json file.
    import up42
    up42.authenticate(cfg_file="credentials.json")
    

Retrieve the email address and password used for logging into the console. Use them as values in the following arguments:

  • Set the value of the username argument to your email address.
  • Set the value of the password argument to your password.