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

package security

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

Index

Package Files

security.go

func ValidateAttribute Uses

func ValidateAttribute(key string, values []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 6 packages (graph) and is imported by 2 packages. Updated 2019-10-21. Refresh now. Tools for package owners.