Amazon Signin

class coto.clients.signin_amazon.Client(session)[source]
REQUIRES_AUTHENTICATION = False
find_and_submit_form(soup, email, password, mfa_secret=None)[source]
signin(email, password, mfa_secret=None)[source]

Signin into the AWS Management Console using account root user.

Request Syntax:

response = client.get_account_type(
    email=str,
    password=str,
    mfa_secret=str,
)
Parameters:
  • email – Account email address.
  • password – Account password.
  • mfa_secret – Account mfa secret. The Base32 seed defined as specified in RFC3548. The Base32StringSeed is Base64-encoded.
Returns:

Signin successful

Return type:

bool