IMPORTANT: Besides the fact that this is extension itself is very immature, it also uses a proposed API which is subject to change and removal without notice from VS Code.
This VS Code extension provides an interface to view the contents of S3 buckets.
An AWS IAM access key ID/Secret with AmazonS3FullAccess
policy is needed for this extension to securely access an S3 bucket's objects.
This extension uses a proposed API which is only available on the Insiders version of VS Code.
Download or clone.
$ git clone git@github.com:mschmo/vscode-s3-interface.git s3-interface
$ cd s3-interface
$ npm install
Then run with VS Code debugger (F5
).
Right now, when you first run the debugger you will have to add the access key/secret and bucket name to the user settings, then restart the debugger. That process will be fixed in future releases.
Include if your extension adds any VS Code settings through the contributes.configuration
extension point.
This extension contributes the following settings:
s3Interface.accessKeyId
: Access key IDs3Interface.secretAccessKey
: Access key secrets3Interface.bucketName
: Name of bucket to access.s3Interface.region
: S3 bucket region. Defaults to 'us-east-1'.
The next steps are to address these issues:
- Likely problems on buckets with 1000+ objects.
- Can only view a single bucket from the configuration. Would be nice to dynamically select buckets.
- Opening some files crash everything. That's bad. Fix that.
- This should not make another request if file is already open.
- Needs tests.
- Get the proposed API into VS Code production.