Report this

What is the reason for this report?

How create Spaces access keys with Personal access tokens

Posted on September 3, 2021

Hi

I’m trying to do a web system (in PHP) to create new spaces and create spaces access key to each one of them.

I can’t find how create it base on Personal Access Tokens, because I want to have separate.

I can create spaces with the documentation, but I don´t want to create in the admin of DigitalOcean Spaces access keys, I would like to create all in php.

The process would be:

  1. Create Space Access Key for a person with the Personal Access Tokens
  2. Create the Space with the Space Access Key generated
  3. Upload files to each space

https://docs.digitalocean.com/products/spaces/resources/s3-sdk-examples/



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!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hey @joni00753,

I believe that this is not possible as of the time being, but sounds like it’d be super useful!

The best thing to do to get your voice heard regarding this would be to head over to our Product Ideas board and post a new idea, including as much information as possible for what you’d like to see implemented.

https://ideas.digitalocean.com/

Hope that helps! - Bobby.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.