You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+30-21Lines changed: 30 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,10 +17,8 @@ Usage:
17
17
18
18
Available Commands:
19
19
cat Print content of S3 file(s) to stdout
20
-
compliance Add compliance lock
21
-
govern Add/remove governance lock
22
20
help Help about any command
23
-
holdAdd/remove legal hold
21
+
lockManage object locks
24
22
logs Print S3 Access logs as JSON
25
23
size Calculate size of S3 location
26
24
@@ -161,14 +159,14 @@ It is also possible to get JSON output:
161
159
]
162
160
```
163
161
164
-
## s3kit compliance
162
+
## s3kit lock compliance
165
163
Adds the [compliance lock](https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html) to a given object identified by a prefix and applicable to all versions of the object(s), latest version of the object(s) or specific version of the object(s).
Locking s3://bucket/key version .oNOa6ZVNDTUcKHaaaECJUmdA9XaBTI4 expires 2020-04-18 15:31:35, proceed? (y/N):
189
187
```
190
188
191
189
The default answer is **NO**.
192
190
193
-
## s3kit hold add / rm
191
+
## s3kit lock legal add / rm
194
192
195
193
Adds or removes the [legal hold](https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html) to the object(s) found by given S3 prefix(es).
196
194
197
195
```
198
-
Add/remove legal hold for given object(s)
196
+
Add/remove legal hold
199
197
200
198
Usage:
201
-
s3kit hold add s3://bucket/key1 s3://bucket/prefix/ ... [flags]
199
+
s3kit lock legal [command]
202
200
203
-
Flags:
204
-
-h, --help help for add
201
+
Available Commands:
202
+
add Add legal hold for given object(s)
203
+
rm Remove legal hold for given object(s)
205
204
206
-
Global Flags:
205
+
Flags:
207
206
--all Apply to all versions of object(s)
207
+
-h, --help help for legal
208
208
--latest Apply to latest version of object(s) (default true)
209
209
--version string Apply to a specific version
210
-
-w, --workers int number of concurrent threads (default 12)
210
+
211
+
Global Flags:
212
+
-w, --workers int number of concurrent threads (default 12)
213
+
214
+
Use "s3kit lock legal [command] --help" for more information about a command.
211
215
```
212
216
213
-
## s3kit govern add / rm
217
+
## s3kit lock governance add / rm
214
218
215
219
Adds or removes the [governance retention lock](https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html) to the object(s) found by given S3 prefix(es).
216
220
217
221
```
218
-
Add/remove governance lock for given object(s)
222
+
Add/remove governance lock
219
223
220
224
Usage:
221
-
s3kit govern add s3://bucket/key1 s3://bucket/prefix/ ... [flags]
0 commit comments