Skip to contents

The canonical environment variable is VIRUSTOTAL_API_KEY; VirustotalToken is the historical name and is still honored. set_key() sets both.

Usage

vt_key()

Value

The API key. Throws a virustotal_auth_error if none is set.

See also

Other authentication: has_vt_key(), set_key()