istio: istio.io/istio/pkg/config/security Index | Files

package security

import "istio.io/istio/pkg/config/security"

Index

Package Files

security.go

func CheckEmptyValues Uses

func CheckEmptyValues(key string, values []string) error

func ValidateAttribute Uses

func ValidateAttribute(key string, values []string) error

func ValidateIPs Uses

func ValidateIPs(ips []string) error

func ValidatePorts Uses

func ValidatePorts(ports []string) error

type JwksInfo Uses

type JwksInfo struct {
    Hostname host.Name
    Scheme   string
    Port     int
    UseSSL   bool
}

JwksInfo provides values resulting from parsing a jwks URI.

func ParseJwksURI Uses

func ParseJwksURI(jwksURI string) (JwksInfo, error)

ParseJwksURI parses the input URI and returns the corresponding hostname, port, and whether SSL is used. URI must start with "http://" or "https://", which corresponding to "http" or "https" scheme. Port number is extracted from URI if available (i.e from postfix :<port>, eg. ":80"), or assigned to a default value based on URI scheme (80 for http and 443 for https). Port name is set to URI scheme value. Note: this is to replace [buildJWKSURIClusterNameAndAddress] (https://github.com/istio/istio/blob/master/pilot/pkg/proxy/envoy/v1/mixer.go#L401), which is used for the old EUC policy.

Package security imports 7 packages (graph) and is imported by 3 packages. Updated 2020-02-27. Refresh now. Tools for package owners.