Skip to content

'.' in profile name #389

Closed
Closed
@JumpyKitten

Description

@JumpyKitten

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestA feature should be added or improved.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions