User Tools

Site Tools


storage:ibm_cos

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
storage:ibm_cos [2024/07/27 10:46]
manu [enable versioning]
storage:ibm_cos [2024/07/27 12:37] (current)
manu
Line 152: Line 152:
   * Create bucket and run commands to enable Versioning and Object Lock on the individual bucket.   * Create bucket and run commands to enable Versioning and Object Lock on the individual bucket.
  
 +__NOTE__ Enabling Object lock will not affect the existing vaults.
  
 The below is an example which I tried in my lab to enable Versioning and then Object Lock. Maybe you can try The below is an example which I tried in my lab to enable Versioning and then Object Lock. Maybe you can try
Line 159: Line 160:
  
 <cli prompt='​%'>​ <cli prompt='​%'>​
-% curl -X PUT http://​10.10.64.98:​8337/​container/​testlockbucket -u jeff:​password -d +% curl -X PUT http://​10.10.64.98:​8337/​container/​testlockbucket -u jeff:​password -d '​{"​storage_location":"​cv1","​service_instance":"​jeff1"​}'​ -H "​Content-Type:​ application/​json"​
-'​{"​storage_location":"​cv1","​service_instance":"​jeff1"​}'​ -H "​Content-Type:​ application/​json"​+
 </​cli>​ </​cli>​
 <​code>​ <​code>​
storage/ibm_cos.1722069985.txt.gz · Last modified: 2024/07/27 10:46 by manu