ip

Validate ip values.

Usage

An IPv4 or IPv6 address.

env "HOST_IP", type: "ip"

Validation leaves the value as a string. Storage defaults to "any" and redaction is off. Set storage: "encrypted" and redacted: true for secrets.