Question

Specify API Key for a specific Space

Posted April 30, 2019 3.1k views
DigitalOceanUbuntu 18.04

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

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.

×
Submit an Answer
3 answers

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

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.