()
return {
        os.environ[env_var]
        for env_var in (
            'AWS_CONFIG_FILE', 'AWS_CREDENTIAL_FILE',
            'AWS_SHARED_CREDENTIALS_FILE', 'BOTO_CONFIG',
        )
        if env_var in os.environ
    }
Extract credential file paths from environment variables.
Extract credential file paths from environment variables.
Extract credential file paths from environment variables .
def get_aws_cred_files_from_env() -> Set[str]:
    """Extract credential file paths from environment variables."""
    return {
        os.environ[env_var]
        for env_var in (
            'AWS_CONFIG_FILE', 'AWS_CREDENTIAL_FILE',
            'AWS_SHARED_CREDENTIALS_FILE', 'BOTO_CONFIG',
        )
        if env_var in os.environ
    }
def get_aws_cred_files_from_env ( ) -> Set [ str ] : return { os . environ [ env_var ] for env_var in ( 'AWS_CONFIG_FILE' , 'AWS_CREDENTIAL_FILE' , 'AWS_SHARED_CREDENTIALS_FILE' , 'BOTO_CONFIG' , ) if env_var in os . environ }