fix testListObjects functional test (#1222)Remove test for invalid xml character \x17 in object name
as it fails with azure gateway storage client on Mint during
response parsing because of the invalid xml character in
object name.
Add ObjectTagging Support (#1206)Add new ObjectTagging APIs. Also, add
ObjectTagging support in PutObject, CopyObject
and other existing APIs.
Changes are as per the documentation here
https://docs.aws.amazon.com/AmazonS3/latest/dev/object-tagging.html
This is a precursor to ObjectTagging support on MinIO server.
Refer minio/minio#8446
Co-Authored-By: poornas <poornas@users.noreply.github.com>
Credentials: Support assuming role via WebIdentityTokenFile (#1183)This supports the new AWS_WEB_IDENTITY_TOKEN_FILE and
AWS_ROLE_ARN environment variables, that allow exchanging
OIDC tokens given to pods in EKS for access tokens.
Fixes #1156
Remove ListenBucketNotificationV2 (#1204)Server moves to purge old API, functionality
hasn't changed we don't need to change anything
on client side so removing this API as its redundant.
credentials: support AWS_CONTAINER_CREDENTIALS_FULL_URI (#1185)This environment variable allows the definition of a full URI to
an ECS task endpoint on a loop-back address.
It is documented sparsely compared to
AWS_CONTAINER_CREDENTIALS_RELATIVE_URI but is
implemented in every major AWS SDK.
See:
- https://github.com/aws/aws-sdk-go/blob/master/aws/defaults/defaults.go#L117
- https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/ECSCredentia...
Add user metadata headers into ObjectInfo (#1151)Now StatObject calls returns ObjectInfo contains user metadata which
is stripped "x-amz-meta-" prefix with first value.
Fixes #1145
Set max-keys query param only as needed (#1180)This is to ensure that S3 server implementations
can send a larger list response by default
i.e more than 1000 keys if needed.
Send error for json.Unmarshal for caller action (#1179)This change is needed such that applications
can detect errors and act appropriately while
using ListenBucketNotifications when server
unexpectedly disconnects.
list: Decode key/prefix and next marker in Core layer (#1169)Some modules depending on minio-go, such as Minio Gateway S3, depends
on minio-go Core to perform listing. However a regression is found
because decoding keys and common prefixes, along with marker for list v1
is not happening in Core module but in higher level.
This PR moves decoding to Core layer.
This PR also avoids encoding next continuation token since S3 spec
does not require it.