Documentation
¶
Index ¶
Constants ¶
View Source
const ( IssuerTypeEmail = "email" IssuerTypeSpiffe = "spiffe" )
Variables ¶
View Source
var DefaultConfig = FulcioConfig{ OIDCIssuers: map[string]OIDCIssuer{ "https://oauth2.sigstore.dev/auth": { IssuerURL: "https://oauth2.sigstore.dev/auth", ClientID: "sigstore", Type: IssuerTypeEmail, }, "https://accounts.google.com": { IssuerURL: "https://accounts.google.com", ClientID: "sigstore", Type: IssuerTypeEmail, }, }, }
Functions ¶
Types ¶
type FulcioConfig ¶
type FulcioConfig struct {
OIDCIssuers map[string]OIDCIssuer
}
func Config ¶
func Config() FulcioConfig
func ParseConfig ¶
func ParseConfig(b []byte) (FulcioConfig, error)
type IssuerType ¶
type IssuerType string
type OIDCIssuer ¶
type OIDCIssuer struct {
IssuerURL string
ClientID string
Type IssuerType
}
Click to show internal directories.
Click to hide internal directories.