creds

package
v0.69.1 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package creds provides a way to obtain credentials through different providers and set them to `opts.Env`.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Getter added in v0.59.7

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

func NewGetter added in v0.59.7

func NewGetter() *Getter

func (*Getter) ObtainAndUpdateEnvIfNecessary added in v0.59.7

func (getter *Getter) ObtainAndUpdateEnvIfNecessary(ctx context.Context, opts *options.TerragruntOptions, authProviders ...providers.Provider) error

ObtainAndUpdateEnvIfNecessary obtains credentials through different providers and sets them to `opts.Env`.

Directories

Path Synopsis
Package providers defines the interface for a provider.
Package providers defines the interface for a provider.
amazonsts
Package amazonsts provides a credentials provider that obtains credentials by making API requests to Amazon STS.
Package amazonsts provides a credentials provider that obtains credentials by making API requests to Amazon STS.
externalcmd
Package externalcmd provides a provider that runs an external command that returns a json string with credentials.
Package externalcmd provides a provider that runs an external command that returns a json string with credentials.

Jump to

Keyboard shortcuts

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