Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # list buckets
- oci os bucket list --compartment-id $COMPARTMENT_ID --namespace-name $NS
- # create bucket
- oci os bucket create --compartment-id $COMPARTMENT_ID --namespace-name $NS --name my-bucket
- # upload object
- oci os object put -bn my-bucket -ns $NS --file /tmp/Demo-Outline.pdf
- # check the object
- oci os object list -bn my-bucket -ns $NS
- # create pre-authenticated request for object
- oci os preauth-request create --access-type ObjectRead --bucket-name my-bucket --namespace-name $NS --name Demo-Outline.pdf_par --object-name Demo-Outline.pdf --time-expires 2023-11-30T20:30Z
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement