code: func IsSecretKey(value string) bool {
  	return len(value) <= validation.DNS1123SubdomainMaxLength && secretKeyRegexp.MatchString(value)
  }
docs: // IsSecretKey tests for a string that conforms to the definition of a
  // subdomain in DNS (RFC 1123), except that a leading dot is allowed