SASAuth

SASAuth#

class eodag.plugins.authentication.sas_auth.SASAuth(provider, config)[source]#

SASAuth authentication plugin

An apiKey that is added in the headers can be given in the credentials in the config file.

Parameters:
  • provider (str) – provider name

  • config (PluginConfig) –

    Authentication plugin configuration:

    • type (str) (mandatory): SASAuth

    • auth_uri (str) (mandatory): url used to get the signed url

    • signed_url_key (str) (mandatory): key to get the signed url

    • headers (Dict[str, str]) (mandatory if apiKey is used): headers to be added to the requests

    • ssl_verify (bool): if the ssl certificates should be verified in the requests; default: True

__init__(provider, config)#
Parameters:

Methods

__init__(provider, config)

authenticate()

Authenticate

validate_config_credentials()

Validate configured credentials

Attributes

plugins