Documentation ¶
Index ¶
- func ImpersonateTokenSource(ctx context.Context, target string, ts oauth2.TokenSource, scopes ...string) (oauth2.TokenSource, error)
- func KubernetesTokenRequestTokenSource(ctx context.Context, clientset *kubernetes.Clientset, ...) (oauth2.TokenSource, error)
- func OidcStsTokenSource(ctx context.Context, audience string, ts oauth2.TokenSource) (oauth2.TokenSource, error)
- type KubernetsTokenRequestTokenConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ImpersonateTokenSource ¶
func ImpersonateTokenSource(ctx context.Context, target string, ts oauth2.TokenSource, scopes ...string) (oauth2.TokenSource, error)
func KubernetesTokenRequestTokenSource ¶
func KubernetesTokenRequestTokenSource(ctx context.Context, clientset *kubernetes.Clientset, config *KubernetsTokenRequestTokenConfig) (oauth2.TokenSource, error)
func OidcStsTokenSource ¶
func OidcStsTokenSource(ctx context.Context, audience string, ts oauth2.TokenSource) (oauth2.TokenSource, error)
OidcStsTokenSource exchanges OIDC token with federated token for internal use.
Types ¶
Click to show internal directories.
Click to hide internal directories.