Documentation
¶
Overview ¶
Package vertexauth prepares GitHub Actions Workload Identity Federation credentials for a single Vertex inference run.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
ProjectID string
WorkloadIdentityProvider string
OIDCRequestURL string
OIDCRequestToken string
TempDir string
// OnSubjectToken, when set, receives the fetched GitHub OIDC token so
// the caller can mask it in its log before the token is used.
OnSubjectToken func(token string)
}
Config contains the trusted runner inputs needed to prepare credentials.
Click to show internal directories.
Click to hide internal directories.