tharsisfederated

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2024 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package tharsisfederated package

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authenticator

type Authenticator struct {
}

Authenticator supports Tharsis Federation

func New

func New() *Authenticator

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),
) (map[string]string, error)

Authenticate configures the environment with the identity information used by the Tharsis 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