GenericAuth#
- class eodag.plugins.authentication.generic.GenericAuth(provider, config)[source]#
GenericAuth authentication plugin (authentication using
usernameandpassword)The mandatory parameters that have to be added in the eodag config are username and password.
- Parameters:
provider (
str) – provider nameconfig (
PluginConfig) –Authentication plugin configuration:
- __init__(provider, config)#
- Parameters:
provider (
str)config (
PluginConfig)
Methods
__init__(provider, config)authenticate()Authenticate
authenticate_objects(bucket_names_and_prefixes)Authenticates with s3 and retrieves the available objects
presign_url(asset[, expires_in])This method is used to presign a url to download an asset from S3.
validate_config_credentials()Validate configured credentials
Attributes
plugins