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

Support adding customer header to s3cmd mb #1197

Closed
sebvajda opened this issue Jun 30, 2021 · 1 comment
Closed

Support adding customer header to s3cmd mb #1197

sebvajda opened this issue Jun 30, 2021 · 1 comment
Milestone

Comments

@sebvajda
Copy link
Contributor

Using Cloudian Hyperstore S3 implementation we need to have the possibility to add custom header to the create bucket command.
This is needed as we have to pass a custom header x-gmt-policyid that would inform the Cloudian Hyperstore backend to create the new bucket using a non default storage policy. Storage policies in Cloudian Hyperstore are defining the resiliency level of the object in the bucket like the number of copies and which data centers the copies need to reside.

s3cmd does not complain about passing --add-header option to the mb command but it is silently ignored.

@fviard
Copy link
Contributor

fviard commented Sep 26, 2021

Should be fixed now in master with:
#1198

@fviard fviard closed this as completed Sep 26, 2021
@fviard fviard added this to the 2.2.0 milestone Sep 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants