mirror of
https://github.com/minio/minio.git
synced 2025-01-11 15:03:22 -05:00
Add command to list added lifecycle configurations (#8627)
This commit is contained in:
parent
bf3a97d3aa
commit
46b4dd8e20
@ -48,6 +48,12 @@ $ export AWS_SECRET_ACCESS_KEY="your-secret-key"
|
||||
$ aws s3api put-bucket-lifecycle-configuration --bucket your-bucket --endpoint-url http://minio-server-address:port --lifecycle-configuration file://bucket-lifecycle.json
|
||||
```
|
||||
|
||||
3. Verify that the configuration has been added
|
||||
|
||||
```sh
|
||||
$ aws s3api get-bucket-lifecycle-configuration --bucket your-bucket --endpoint-url http://minio-server-address:port
|
||||
```
|
||||
|
||||
## Explore Further
|
||||
- [MinIO | Golang Client API Reference](https://docs.min.io/docs/golang-client-api-reference.html#SetBucketLifecycle)
|
||||
- [Object Lifecycle Management](https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html)
|
||||
|
Loading…
Reference in New Issue
Block a user