virustotal

The virustotal credential can be used to access VirusTotal resources.

credential "virustotal" "my_ virustotal" {
api_key = "SG.R7..."
}

Arguments

NameTypeRequired?Description
api_keyStringOptionalAPI key

All arguments are optional, and a virustotal credential with no arguments will behave the same as the default credential.

Default Credential

The virustotal credential type includes an implicit, default credential (credential.virustotal.default) that will be configured to set the api_key to the VTCLI_APIKEY environment variable.

credential "virustotal" "default" {
api_key = env("VTCLI_APIKEY")
}