EmailCredentials

class verta.credentials.EmailCredentials(email, dev_key, organization_id=None)

Container class for email and dev key credentials for the Verta Platform.

Variables:
  • email (str) – A user email address.

  • dev_key (str) – A dev key to use for authentication.

  • organization_id (str, optional) – An organization ID to use for authentication.

export_env_vars_to_os()

Write credential data to appropriate os environment variables.

headers()

Return headers carrying the information of these credentials.

Returns:

dict – Dictionary of headers carrying credential information.

set_organization_id(organization_id)

Set the organization ID for these credentials.

Parameters:

organization_id (str) – Organization ID to use for authentication.