Code Monkey home page Code Monkey logo

aws-s3's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

aws-s3's Issues

Problem connecting to an in-house CEPH S3 endpoint

Hi. Thanx for your VSCode extension !

I'm having issues connecting to a CEPH S3 storage that I can otherwise access perfectly well in a Jupyter notebook with s3fs :

s3 = s3fs.S3FileSystem(
   key=access_key,
   secret=secret_access_key,
   client_kwargs={
       'endpoint_url': endpoint_url
   }
)

Now, I've put a credentials file in HOME/.aws :

[default]
aws_access_key_id=my_access_key
aws_secret_access_key=my_secret_access_key
endpoint_url = http://my_url

thinking it might automagically work with your extension but instead I get a warning from your extension : "Your Aws Access method is not credentials file".

Any hints ?

Thank you !

api.GetBucketList Error

Hello! thanks for implementing this! I get this Error when trying to access a bucket:

api.GetBucketList Error !!! | CredentialsError | Missing credentials in config, if using AWS_CONFIG_FILE, set AWS_SDK_LOAD_CONFIG=1

I'm logged in using SSO and select the right profile.

api.GetBucketList Error !!! | XMLParserError | Unexpected close tag Line

Hello,

It seems as though my sax package is not parsing correctly when I am trying to access my S3 bucket via the extension. I have confirmed that my credentials are correct and that my sax package is fully updated. Please refer to the images below for the errors

api.GetBucketList Error !!!
XMLParserError
Unexpected close tag
Line: 15
Column: 7
Char: >
XMLParserError: Unexpected close tag
Line: 15
Column: 7
Char: >

at error (c:\Users\vsamuel\.vscode\extensions\necatiarslan.aws-s3-vscode-extension-1.5.0\node_modules\sax\lib\sax.js:667:10)
	at strictFail (c:\Users\vsamuel\.vscode\extensions\necatiarslan.aws-s3-vscode-extension-1.5.0\node_modules\sax\lib\sax.js:693:7)
	at closeTag (c:\Users\vsamuel\.vscode\extensions\necatiarslan.aws-s3-vscode-extension-1.5.0\node_modules\sax\lib\sax.js:887:9)
	at SAXParser.write (c:\Users\vsamuel\.vscode\extensions\necatiarslan.aws-s3-vscode-extension-1.5.0\node_modules\sax\lib\sax.js:1449:13)
	at exports.Parser.Parser.parseString (c:\Users\vsamuel\.vscode\extensions\necatiarslan.aws-s3-vscode-extension-1.5.0\node_modules\xml2js\lib\parser.js:322:31)
	at Parser.parseString (c:\Users\vsamuel\.vscode\extensions\necatiarslan.aws-s3-vscode-extension-1.5.0\node_modules\xml2js\lib\parser.js:5:59)
	at NodeXmlParser.parse (c:\Users\vsamuel\.vscode\extensions\necatiarslan.aws-s3-vscode-extension-1.5.0\node_modules\aws-sdk\lib\xml\node_parser.js:31:10)
	at Request.extractData (c:\Users\vsamuel\.vscode\extensions\necatiarslan.aws-s3-vscode-extension-1.5.0\node_modules\aws-sdk\lib\protocol\rest_xml.js:96:23)
	at Request.callListeners (c:\Users\vsamuel\.vscode\extensions\necatiarslan.aws-s3-vscode-extension-1.5.0\node_modules\aws-sdk\lib\sequential_executor.js:106:20)
	at Request.emit (c:\Users\vsamuel\.vscode\extensions\necatiarslan.aws-s3-vscode-extension-1.5.0\node_modules\aws-sdk\lib\sequential_executor.js:78:10)
	at Request.emit (c:\Users\vsamuel\.vscode\extensions\necatiarslan.aws-s3-vscode-extension-1.5.0\node_modules\aws-sdk\lib\request.js:686:14)
	at Request.transition (c:\Users\vsamuel\.vscode\extensions\necatiarslan.aws-s3-vscode-extension-1.5.0\node_modules\aws-sdk\lib\request.js:22:10)
	at AcceptorStateMachine.runTo (c:\Users\vsamuel\.vscode\extensions\necatiarslan.aws-s3-vscode-extension-1.5.0\node_modules\aws-sdk\lib\state_machine.js:14:12)
	at c:\Users\vsamuel\.vscode\extensions\necatiarslan.aws-s3-vscode-extension-1.5.0\node_modules\aws-sdk\lib\state_machine.js:26:10
	at Request.<anonymous> (c:\Users\vsamuel\.vscode\extensions\necatiarslan.aws-s3-vscode-extension-1.5.0\node_modules\aws-sdk\lib\request.js:38:9)
	at Request.<anonymous> (c:\Users\vsamuel\.vscode\extensions\necatiarslan.aws-s3-vscode-extension-1.5.0\node_modules\aws-sdk\lib\request.js:688:12)
	at Request.callListeners (c:\Users\vsamuel\.vscode\extensions\necatiarslan.aws-s3-vscode-extension-1.5.0\node_modules\aws-sdk\lib\sequential_executor.js:116:18)
	at Request.emit (c:\Users\vsamuel\.vscode\extensions\necatiarslan.aws-s3-vscode-extension-1.5.0\node_modules\aws-sdk\lib\sequential_executor.js:78:10)
	at Request.emit (c:\Users\vsamuel\.vscode\extensions\necatiarslan.aws-s3-vscode-extension-1.5.0\node_modules\aws-sdk\lib\request.js:686:14)
	at Request.transition (c:\Users\vsamuel\.vscode\extensions\necatiarslan.aws-s3-vscode-extension-1.5.0\node_modules\aws-sdk\lib\request.js:22:10)
	at AcceptorStateMachine.runTo (c:\Users\vsamuel\.vscode\extensions\necatiarslan.aws-s3-vscode-extension-1.5.0\node_modules\aws-sdk\lib\state_machine.js:14:12)
	at c:\Users\vsamuel\.vscode\extensions\necatiarslan.aws-s3-vscode-extension-1.5.0\node_modules\aws-sdk\lib\state_machine.js:26:10
	at Request.<anonymous> (c:\Users\vsamuel\.vscode\extensions\necatiarslan.aws-s3-vscode-extension-1.5.0\node_modules\aws-sdk\lib\request.js:38:9)
	at Request.<anonymous> (c:\Users\vsamuel\.vscode\extensions\necatiarslan.aws-s3-vscode-extension-1.5.0\node_modules\aws-sdk\lib\request.js:688:12)
	at Request.callListeners (c:\Users\vsamuel\.vscode\extensions\necatiarslan.aws-s3-vscode-extension-1.5.0\node_modules\aws-sdk\lib\sequential_executor.js:116:18)
	at callNextListener (c:\Users\vsamuel\.vscode\extensions\necatiarslan.aws-s3-vscode-extension-1.5.0\node_modules\aws-sdk\lib\sequential_executor.js:96:12)
	at IncomingMessage.onEnd (c:\Users\vsamuel\.vscode\extensions\necatiarslan.aws-s3-vscode-extension-1.5.0\node_modules\aws-sdk\lib\event_listeners.js:417:13)
	at IncomingMessage.emit (node:events:525:35)
	at IncomingMessage.emit (node:domain:489:12)
	at endReadableNT (node:internal/streams/readable:1359:12)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

multiple AWS config profiles

I have multiple profiles defined in my .aws\config file. How do I switch between the profiles? It would seem that AWS-S3 always selects default profile. thx.

-M

Local S3 improvement

Hello,

First, thanks for this vscode extension !
I'm using this extension for local usage (custom enpoint parameter is very useful).

I have multiples profiles with differents credentials. Profiles cannot list all buckets for security purposes.
When I try to add a bucket by name, it's trying to list all (see error below).

Would it be possible to try to connect directly to the bucket before (or instead) of trying to list them all ?

api.GetBucketList Error !!!
AccessDenied
Access Denied
AccessDenied: Access Denied

Environment Varible Credentials Support

I'm trying to use this extension with an S3 bucket provisioned by someone else and I don't have access at the bucket level. My permissions apply to a specific folder (subdirectory) of the bucket only. I am able to successfully work in "my" folder using the AWS S3 CLI.

So, in this extension I can select and see the bucket itself, but I can't see anything within or browse to "my" folder. I've tried specifying the folder as part of the bucket name but when I do that I get no bucket to "select".

Just curious if I'm missing something here in my config or the extension's capabilities, or if this just isn't possible? Thanks.

Command not found error

Hi !

I'm currently on Fedora 37 and i just dowloaded your extension but I can't use it, I got command not found error on every buttons and nothing showing up in the bucket list ๐Ÿ˜ข my conf seem good because aws s3 ls show my buckets :

image

image

Local S3 support

Hello! Great work with this! Do you have plans to allow local S3 ops? Would be great for local development! For e.g., we use LocalStack for mocking S3 (and other AWS services) locally as we develop. I suspect a relatively low lift solution could be to expose --endpoint-url as a configurable param?

Copy S3 URI feature request

Hello,
The extension is very useful and convenient to use. I would love to have the option to copy the S3 URI of directories and files similarly to the options in the web API for S3.
Thanks!

light color theme support

Is there a chance to add support for light color theme?

This is how it looks on my side in Light (Visual Studio) theme:

Screenshot_20230322_135128

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.