-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
s3-credentials put-object
and s3-credentials get-object
commands
#38
Comments
Design for
Or:
|
For
Or:
|
Maybe in the future add
|
Tried this: @cli.command()
@click.argument("bucket")
@click.argument("key")
@click.argument("body", type=click.File("rb"))
@common_boto3_options
def put_object(bucket, key, body, **boto_options):
"Upload an object to an S3 bucket"
s3 = make_client("s3", **boto_options)
response = s3.put_object(Body=body, Bucket=bucket, Key=key)
click.echo(json.dumps(response, indent=4, default=str)) And got this error:
|
I should use this module, it handles lots of interesting extra features, including progress bars: https://github.com/boto/boto3/blob/c5487b57499ad354e24ca2c8622f90fe089240b6/boto3/s3/transfer.py |
I'm going to test these as part of the existing integration tests. |
I'd like to be able to use this tool to easily upload and download from the S3 buckets, without having to switch to (and install) a a separate tool.
The text was updated successfully, but these errors were encountered: