ip2locationio

Important

As of Flowpipe 1.0.0, credential has been renamed to connection. The ip2locationio credential resource is deprecated and will be removed in a future version of Flowpipe. Use the ip2locationio connection instead.

The ip2locationio credential can be used to access Ip2Location.io resources.

credential "ip2locationio" "my_api_key" {
api_key = "12345678901A23BC4D5E6FG78HI9J101"
}

Arguments

NameTypeRequired?Description
api_keyStringOptionalAPI key

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

Default Credential

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

credential "ip2locationio" "default" {
api_key = env("IP2LOCATIONIO_API_KEY")
}