File tree 2 files changed +8
-0
lines changed 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -206,6 +206,9 @@ const (
206
206
// PutObjectFanOutAction - PutObject like API action but allows PostUpload() fan-out.
207
207
PutObjectFanOutAction = "s3:PutObjectFanOut"
208
208
209
+ // S3Express CreateSession action
210
+ CreateSessionAction = "s3express:CreateSession"
211
+
209
212
// AllActions - all API actions
210
213
AllActions = "s3:*"
211
214
)
@@ -271,6 +274,7 @@ var supportedActions = map[Action]struct{}{
271
274
RestoreObjectAction : {},
272
275
ResetBucketReplicationStateAction : {},
273
276
PutObjectFanOutAction : {},
277
+ CreateSessionAction : {},
274
278
AllActions : {},
275
279
}
276
280
Original file line number Diff line number Diff line change @@ -157,6 +157,9 @@ const (
157
157
// S3AuthType - optionally use this condition key to restrict incoming requests to use a specific authentication method.
158
158
S3AuthType KeyName = "s3:authType"
159
159
160
+ // S3ExpressSessionMode - optionally use this condition key to control who can create a ReadWrite or ReadOnly session.
161
+ S3ExpressSessionMode = "s3express:SessionMode"
162
+
160
163
// Refer https://docs.aws.amazon.com/AmazonS3/latest/userguide/tagging-and-policies.html
161
164
ExistingObjectTag KeyName = "s3:ExistingObjectTag"
162
165
RequestObjectTagKeys KeyName = "s3:RequestObjectTagKeys"
@@ -313,6 +316,7 @@ var CommonKeys = append([]KeyName{
313
316
S3SignatureAge ,
314
317
S3XAmzContentSha256 ,
315
318
S3LocationConstraint ,
319
+ S3ExpressSessionMode ,
316
320
AWSReferer ,
317
321
AWSSourceIP ,
318
322
AWSUserAgent ,
You can’t perform that action at this time.
0 commit comments