Validation for URLs
We were recently seeing quite esoteric failures like this:
aws-vault: error: exec: Failed to get credentials for foo: InvalidRequestException:
{
RespMetadata: {
StatusCode: 400,
RequestID: "4a328325-4fd6-4710-a3ca-12345671234567"
},
Error_: "invalid_request",
Error_description: "Invalid request"
}
It turned out our dev wiki markdown editor had mangled the example AWS config SSO url like this:
sso_start_url=<https://d-1234567890.awsapps.com/start>
The <> are not right.
Would it be worth having validation for the URL? Actually, is this a question for aws-vault or the aws-cli?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Still a possible improvement.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Still nice to have.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Still nice please.
Hey @hlascelles if you wish to implement this, feel free to open a PR. As I don't intend to implement at this time I will close for now.