def get_your_keys(credentials_file):
    aws_credentials_file_path = os.path.expanduser(credentials_file)
    if not os.path.exists(aws_credentials_file_path):
        return None

    parser = configparser.ConfigParser()
    parser.read(aws_credentials_file_path)

    keys = set()
    for section in parser.sections():
        keys.add(parser.get(section, 'aws_secret_access_key'))
    return keys
Gets a full dump of all entries which have the given language, and
dataset/ETHPy150Open pre-commit/pre-commit-hooks/pre_commit_hooks/detect_aws_credentials.py/get_your_keys--crossover with--dataset/ETHPy150Open BastiPaeltz/codedict/source/database.py/Database.get_full_dump