Credentials

class verta.credentials.Credentials

Abstract base class for credentials usable with the Verta platform.

Users of this library should not extend or use this class directly but instead use one of its subclasses.

abstract export_env_vars_to_os()

Write credential data to appropriate os environment variables.

abstract headers()

Return headers carrying the information of these credentials.

Returns:

dict – Dictionary of headers carrying credential information.

abstract set_organization_id(organization_id)

Set the organization ID for these credentials.

Parameters:

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