Question

Specify API Key for a specific Space

I have multiple spaces for different projects and I want to create different Key&Secret. I can create multiple Keys but I can connect both spaces using both key and secrets.

Is it possible to specify a key and secret for a specific space?

Thanks


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.

How come this is still not implemented?

It means that DO Spaces are NOT fully S3-compatible.

Giving one website access to only one specific space and another website access to only a different space is a pretty basic need.

how come this is a not yet implemented? This is one of the most basic feature, now i’ve intern in my team, i cannot give the access to whole spaces accounts?

Can you guys do this?

<?php
        if(keyBelongsToSpace("space_name","key")) {
           // do your stuff
        } else {
           // not allowed
        }
?>

Greetings!

Though not currently supported, you are definitely not the only one who wants this. Feel free to add an upvote and a comment here:

https://ideas.digitalocean.com/ideas/DO-I-320

The Ideas portal is never a guarantee that we’ll take action, but absolutely guaranteed that we’re watching. It gives us data to build better cases for making improvements as we go.

Jarland