Closed
Description
Any profile name with a dot (a.k.a. fullstop) character is ignored.
Expected Behavior
Dot is accepted by AWS CLI, SDK for Python, Ruby, etc. (and SDK Java V1 I believe) as a valid character in profile name. So should AWS SDK for Java V2.
Current Behavior
In software/amazon/awssdk/auth/profile/internal/ProfileFileReader.java,
private static final Pattern VALID_IDENTIFIER = Pattern.compile("^[A-Za-z0-9_\-]*$");
Note that dot (a.k.a. fullstop) is excluded.
Your Environment
- AWS Java SDK version used: 2.0.0-preview-7