fulcio

package
v5.30.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithFulcioAndDeviceAuthorizationGrantOIDC

func WithFulcioAndDeviceAuthorizationGrantOIDC(fulcioURL *url.URL, oidcIssuerURL *url.URL, oidcClientID, oidcClientSecret string,
	interactiveOutput io.Writer) internal.Option

WithFulcioAndDeviceAuthorizationGrantOIDC sets up signing to use a short-lived key and a Fulcio-issued certificate based on an OIDC ID token obtained using a device authorization grant (RFC 8628).

interactiveOutput must be directly accessible to a human user in real time (i.e. not be just a log file).

func WithFulcioAndInteractiveOIDC

func WithFulcioAndInteractiveOIDC(fulcioURL *url.URL, oidcIssuerURL *url.URL, oidcClientID, oidcClientSecret string,
	interactiveInput io.Reader, interactiveOutput io.Writer) internal.Option

WithFulcioAndInterativeOIDC sets up signing to use a short-lived key and a Fulcio-issued certificate based on an interactively-obtained OIDC ID token. The token is obtained

  • directly using a browser, listening on localhost, automatically opening a browser to the OIDC issuer, to be redirected on localhost. (I.e. the current environment must allow launching a browser that connect back to the current process; either or both may be impossible in a container or a remote VM).
  • or by instructing the user to manually open a browser, obtain the OIDC code, and interactively input it as text.

interactiveInput and interactiveOutput must both be directly operable by a human user in real time (i.e. not be just a log file).

func WithFulcioAndPreexistingOIDCIDToken

func WithFulcioAndPreexistingOIDCIDToken(fulcioURL *url.URL, oidcIDToken string) internal.Option

WithFulcioAndPreexistingOIDCIDToken sets up signing to use a short-lived key and a Fulcio-issued certificate based on a caller-provided OIDC ID token.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL