AWS cli medium security documentation change
Summary
Added clarification about requiring '<file://>' prefix when passing CSV file paths for credential imports
Security assessment
The change addresses potential security risks by clarifying proper handling of credential files, helping prevent accidental exposure of credentials through improper CLI usage. The explicit file:// prefix requirement ensures local file handling is unambiguous.
Diff
diff --git a/cli/latest/reference/configure/import.md b/cli/latest/reference/configure/import.md index 4168c823a..7a13bc4c8 100644 --- a//cli/latest/reference/configure/import.md +++ b//cli/latest/reference/configure/import.md @@ -15 +15 @@ - * [AWS CLI 2.28.8 Command Reference](../../index.html) » + * [AWS CLI 2.28.11 Command Reference](../../index.html) » @@ -90 +90 @@ Import CSV credentials generated from the AWS web console. Entries in the CSV wi -`--csv` (string) The credentials in CSV format generated by the AWS web console.The CSV file must contain the “User name”, “Access key ID”, and “Secret access key” headers. +`--csv` (string) The credentials in CSV format generated by the AWS web console. The CSV file must contain the “User name”, “Access key ID”, and “Secret access key” headers.If passing a CSV file path instead of a CSV-formatted string, the “<file://>” prefix is required. @@ -207 +207 @@ aws configure import –csv <file://credentials.csv> –profile-prefix test- - * [AWS CLI 2.28.8 Command Reference](../../index.html) » + * [AWS CLI 2.28.11 Command Reference](../../index.html) »