azurefederated

package
v0.29.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package azurefederated package

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authenticator

type Authenticator struct {
	// contains filtered or unexported fields
}

Authenticator supports Azure OIDC Federation

func New

func New() (*Authenticator, error)

New creates a new instance of Authenticator

func (*Authenticator) Authenticate

func (a *Authenticator) Authenticate(
	ctx context.Context,
	managedIdentities []types.ManagedIdentity,
	credsRetriever func(ctx context.Context, managedIdentity *types.ManagedIdentity) ([]byte, error),
) (*managedidentity.AuthenticateResponse, error)

Authenticate configures the environment with the identity information used by the Azure terraform provider

func (*Authenticator) Close

func (a *Authenticator) Close(_ context.Context) error

Close cleans up any open resources

Jump to

Keyboard shortcuts

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