Question

Specify API Key for a specific Space

Posted April 30, 2019 491 views
DigitalOcean Ubuntu 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.

2 answers

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 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
        }
?>
Submit an Answer