"""Amazon STS connector.""" import boto3 from mypy_boto3_sts import STSClient def connect_to_sts() -> STSClient: """Connect to STS. Connect to STS via AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY env vars Returns: STSConnection: STSConnection object provides access to sts. """ return boto3.client("sts")