iann0036/cloud9-sync

Environment Settings

Opened this issue · 3 comments

Hello,

Is there anyway of setting it up as such that the plugin could use the AWS environment settings on the device, so i wont have to put in my Access Key and Secret Key?

Not currently. I'll have to look into it. I think I was previously concerned with sandboxing, so I'm not 100% sure whether or not it'll actually be possible.

While sandboxing is a noble goal, it does hamper the functionality of this extension for anyone who uses federation instead of static credentials (a best practice in most enterprises).

If you're looking for permission, it appears that the official AWS Toolkit for VS Code doesn't seem to mind grabbing the config files from the user's filesystem: https://github.com/aws/aws-toolkit-vscode/blob/ab650f54d0a4526aadcbff2979136f27ba735717/src/shared/credentials/credentialsFile.ts#L61-L85

Hey @justinclayton,

Thanks for the reference, it's very helpful.

I'll try to find some time to implement this into a future version, though I can't commit to a specific time.