ip

Validate ip values.

Usage

An IPv4 or IPv6 address.

env "HOST_IP", type: "ip"

Validation leaves the value as a string. Encryption and redaction remain enabled by default; add encrypted: false to permit plaintext and redacted: false to permit output visibility.