Skip to content

shared-ini-file getHomeDir #1710

@gallen-pdi

Description

@gallen-pdi

The shared-ini-file loader reads the files from the path returned by getHomeDir, but if your aws files are not in the home dir then this doesn't work.

getHomeDir returns the directory from the first of these environment variables: HOME, USERPROFILE, HOMEPATH, HOMEDRIVE

Would it not be better to loop these folders in order and return the config files from the first of the folders that contains them?

I have HOME set for another application but my aws config is under USERPROFILE, so it doesn't get found.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions