Hi there!
I’m new to Object Storage. I’m trying to set ACL on a bucket, following this documentation.
But I don’t know what is this ID, since it is not an accessKey, and there is no mention of my own ID anywhere on the website.
Also, why the DisplayName is the same than this ID?
Here is the output of a .getBucketAcl() done with the AWS SDK:
{
"Owner": {
"DisplayName": "2802192",
"ID": "2802192"
},
"Grants": [
{
"Grantee": {
"DisplayName": "2802192",
"ID": "2802192",
"Type": "CanonicalUser"
},
"Permission": "FULL_CONTROL"
}
]
}
How can I grant some permission to someone else by space access key?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
In DigitalOcean when you create a Space it has an ID and the original account that created the space is the Owner, for compatibility purposes these IDs will match and use ID#'s in DisplayName rather than a Canonical or expected name of the owner.
So that is expected behavior and you can read up a bit on it here: https://developers.digitalocean.com/documentation/spaces/#list-all-buckets
In regards to your question, you can add additional users with specific permissions by following this guide: https://www.digitalocean.com/docs/spaces/how-to/administrative-access/
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.