AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

ProviderName - DefaultTimeout

import "github.com/aws/aws-sdk-go/aws/credentials/processcreds"

const ( ProviderName = `ProcessProvider` ErrCodeProcessProviderParse = "ProcessProviderParseError" ErrCodeProcessProviderVersion = "ProcessProviderVersionError" ErrCodeProcessProviderRequired = "ProcessProviderRequiredError" ErrCodeProcessProviderExecution = "ProcessProviderExecutionError" errMsgProcessProviderTimeout = "credential process timed out" errMsgProcessProviderProcess = "error in credential_process" errMsgProcessProviderParse = "parse failed of credential_process output" errMsgProcessProviderVersion = "wrong version in process output (not 1)" errMsgProcessProviderMissKey = "missing AccessKeyId in process output" errMsgProcessProviderMissSecret = "missing SecretAccessKey in process output" errMsgProcessProviderPrepareCmd = "failed to prepare command" errMsgProcessProviderEmptyCmd = "command must not be empty" errMsgProcessProviderPipe = "failed to initialize pipe" DefaultDuration = time.Duration(15) * time.Minute DefaultBufSize = 1024 DefaultTimeout = time.Duration(1) * time.Minute )

ProviderName

ProviderName is the name this credentials provider will label any returned credentials Value with.

ErrCodeProcessProviderParse

ErrCodeProcessProviderParse error parsing process output

ErrCodeProcessProviderVersion

ErrCodeProcessProviderVersion version error in output

ErrCodeProcessProviderRequired

ErrCodeProcessProviderRequired required attribute missing in output

ErrCodeProcessProviderExecution

ErrCodeProcessProviderExecution execution of command failed

DefaultDuration

DefaultDuration is the default amount of time in minutes that the credentials will be valid for.

DefaultBufSize

DefaultBufSize limits buffer size from growing to an enormous amount due to a faulty process.

DefaultTimeout

DefaultTimeout default limit on time a process can run.

On this page: