Hierarchical key for linode object storage
I am trying out linode object storage to store vagrant boxes. What I would like to do is to put an object at a url like https://foo.us-east-1.linodeobjects.com/vagrant/foo/debian10.
Is this currently possible?
Hey @dakimcharles - this is possible! Since all new objects in a bucket are set to private by default, you'll have to make an object public in order to generate a publicly accessible URL.
If you'd like to make an object public upon the initial upload, you can use the following syntax using the Linode CLI:
linode-cli obj put --acl-public example.txt my-example-bucket
This will make the object available at this example URL: http://my-example-bucket.us-east-1.linodeobjects.com/example.txt.
If you want to make an object public after it's already been uploaded, you'll need to adjust the ACL (Access Control List) parameters for the object itself:
linode-cli obj setacl --acl-public my-example-bucket example.txt
There are some more examples of object management in our Object Storage guide: How to Use Linode Object Storage
And there's more info on file storage in our Use Cases guide: Use Cases for Linode Object Storage
Hope this helps!