How create Spaces access keys with Personal access tokens


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


Submit an 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.

Hope that helps! - Bobby.