GenericAuth

GenericAuth#

class eodag.plugins.authentication.generic.GenericAuth(provider, config)[source]#

GenericAuth authentication plugin (authentication using username and password)

The mandatory parameters that have to be added in the eodag config are username and password.

Parameters:
  • provider (str) – provider name

  • config (PluginConfig) –

    Authentication plugin configuration:

    • type (str) (mandatory): GenericAuth

    • method (str): specifies if digest authentication (digest) or basic authentication (basic) should be used; default: basic

__init__(provider, config)#
Parameters:

Methods

__init__(provider, config)

authenticate()

Authenticate

authenticate_objects(bucket_names_and_prefixes)

Authenticates with s3 and retrieves the available objects

validate_config_credentials()

Validate configured credentials

Attributes

plugins