aws-sdk-go: github.com/aws/aws-sdk-go/internal/shareddefaults Index | Files

package shareddefaults

import "github.com/aws/aws-sdk-go/internal/shareddefaults"

Index

Package Files

ecs_container.go shared_config.go

Constants

const (
    // ECSCredsProviderEnvVar is an environmental variable key used to
    // determine which path needs to be hit.
    ECSCredsProviderEnvVar = "AWS_CONTAINER_CREDENTIALS_RELATIVE_URI"
)

Variables

var ECSContainerCredentialsURI = "http://169.254.170.2"

ECSContainerCredentialsURI is the endpoint to retrieve container credentials. This can be overridden to test to ensure the credential process is behaving correctly.

func SharedConfigFilename Uses

func SharedConfigFilename() string

SharedConfigFilename returns the SDK's default file path for the shared config file.

Builds the shared config file path based on the OS's platform.

- Linux/Unix: $HOME/.aws/config
- Windows: %USERPROFILE%\.aws\config

func SharedCredentialsFilename Uses

func SharedCredentialsFilename() string

SharedCredentialsFilename returns the SDK's default file path for the shared credentials file.

Builds the shared config file path based on the OS's platform.

- Linux/Unix: $HOME/.aws/credentials
- Windows: %USERPROFILE%\.aws\credentials

func UserHomeDir Uses

func UserHomeDir() string

UserHomeDir returns the home directory for the user the process is running under.

Package shareddefaults imports 3 packages (graph) and is imported by 39 packages. Updated 2019-07-11. Refresh now. Tools for package owners.