Giter Site home page Giter Site logo

Comments (5)

martindurant avatar martindurant commented on August 11, 2024

Yes, key and secret are saved as attributes and pickled. I believe the same auth should work from any machine. If you didn't explicitly supply credentials, but boto3 found them in environment variables or config files, these are not stored as attributes (in fact, I don't think there is a way to find out what they are)

You can always create a token for temporary access with get_delegated_s3pars().

from s3fs.

mrocklin avatar mrocklin commented on August 11, 2024

I guess I'm curious if we should endeavor to use get_delegated_s3pars by default in order to avoid sending credentials around.

from s3fs.

martindurant avatar martindurant commented on August 11, 2024

Personally, I expect that people will distribute their credential conf and call S3FileSystem without parameters. In some cases, passing the original creds around is perfectly fine, and saves the time for the creation of a token and worrying about its expiry.

from s3fs.

mrocklin avatar mrocklin commented on August 11, 2024

The former case is an argument to not pickle the parameters up with
S3FileSystem. We do now though. I personally find this convenient when
spinning up clusters on EC2. I don't normally distribute my credentials to
all machines for ephemeral clusters. I don't have enough experience to
know what is done in the wild.

On Thu, Apr 28, 2016 at 3:50 PM, Martin Durant [email protected]
wrote:

Personally, I expect that people will distribute their credential conf and
call S3FileSystem without parameters. In some cases, passing the original
creds around is perfectly fine, and saves the time for the creation of a
token and worrying about its expiry.


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#35 (comment)

from s3fs.

martindurant avatar martindurant commented on August 11, 2024

Fixed in #51 ?

from s3fs.

Related Issues (20)

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.