Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions internal/pkg/aws/sessions/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ func (e *errCredRetrieval) Error() string {
// RecommendActions returns recommended actions to be taken after the error.
// Implements main.actionRecommender interface.
func (e *errCredRetrieval) RecommendActions() string {
notice := "It looks like AWS credentials are misconfigured or missing"
notice := "It looks like your AWS credentials are misconfigured or missing"
if e.profile != "" {
notice = fmt.Sprintf("It looks like AWS profile [%s] is misconfigured or missing", e.profile)
notice = fmt.Sprintf("It looks like your AWS profile [%s] is misconfigured or missing", e.profile)
}
return fmt.Sprintf(`%s:
More information: https://aws.github.io/copilot-cli/docs/credentials/`, notice)
Expand Down
4 changes: 3 additions & 1 deletion site/content/docs/credentials.en.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
This section explains our recommendations around credentials to provide the best experience with the AWS Copilot CLI.
AWS Copilot uses AWS credentials to access the AWS API, store and look up an [application's metadata](concepts/applications.en.md), and deploy and operate an application's workloads.

You can learn more on how to configure AWS credentials in the [AWS CLI's documentation](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-quickstart.html).

## Application credentials
Copilot uses the AWS credentials from the [default credential provider chain](https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html#specifying-credentials) to store and look up your [application's metadata](concepts/applications.en.md): which services and environments belong to it.
Expand Down