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 (*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. |
Click to show internal directories.
Click to hide internal directories.