Skip to content

Commit

Permalink
Clarify that server is local
Browse files Browse the repository at this point in the history
  • Loading branch information
mtibben committed Mar 6, 2023
1 parent ddc8409 commit d762b8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ func ExecCommand(input ExecCommandInput, f *vault.ConfigFile, keyring keyring.Ke
return 0, fmt.Errorf("Another process is already bound to 169.254.169.254:80")
}

printHelpMessage("Warning: Starting an EC2 credential server on 169.254.169.254:80; AWS credentials will be accessible to any process while it is running", input.ShowHelpMessages)
printHelpMessage("Warning: Starting a local EC2 credential server on 169.254.169.254:80; AWS credentials will be accessible to any process while it is running", input.ShowHelpMessages)
if err := server.StartEc2EndpointProxyServerProcess(); err != nil {
return 0, err
}
Expand All @@ -201,7 +201,7 @@ func ExecCommand(input ExecCommandInput, f *vault.ConfigFile, keyring keyring.Ke
}
printHelpMessage(subshellHelp, input.ShowHelpMessages)
} else if input.StartEcsServer {
printHelpMessage("Starting an ECS credential server; your app's AWS sdk must support AWS_CONTAINER_CREDENTIALS_FULL_URI.", input.ShowHelpMessages)
printHelpMessage("Starting a local ECS credential server; your app's AWS sdk must support AWS_CONTAINER_CREDENTIALS_FULL_URI.", input.ShowHelpMessages)
if err = startEcsServerAndSetEnv(credsProvider, config, input.Lazy, &cmdEnv); err != nil {
return 0, err
}
Expand Down

0 comments on commit d762b8e

Please sign in to comment.