Question

How create Spaces access keys with Personal access tokens

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/


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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.