Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEATURE REQUEST: Separate Mount Keys #8

Open
jtrobinson3 opened this issue Oct 27, 2014 · 0 comments
Open

FEATURE REQUEST: Separate Mount Keys #8

jtrobinson3 opened this issue Oct 27, 2014 · 0 comments

Comments

@jtrobinson3
Copy link

Allow separate keys for each mount point. s3fs allows specifying keys for each separate mount with this syntax in the .passwd-s3fs file:
bucketName:accessKeyId:secretAccessKey
( From the wiki: https://github.com/s3fs-fuse/s3fs-fuse/wiki/Fuse-Over-Amazon )

This could be implemented and configured with a change to the attributes such as:

override_attributes(
  's3fs-fuse' => {
    :s3_key => 'key',
    :s3_secret => 'secret',
    :mounts => [
      {:bucket => 'my-bucket', :path => '/mount/path', :tmp_store => '/tmp/cache', :key => 'mount-specific-key', :secret => 'mount-specific-secret'}
    ],
    :bluepill => true,
    :maxmemory => 50
  }
)

Any mounts that do not specify their own key and secret could fall back to using the global key and secret (if specified).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant