vt_key: Resolve the VirusTotal API key

View source: R/vt_key.R

vt_keyR Documentation

Resolve the VirusTotal API key

Description

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()


virustotal documentation built on Aug. 20, 2026, 5:07 p.m.