Comment 4 for bug 1239488

Revision history for this message
Raphaƫl Badin (rvb) wrote : Re: Juju api client cannot distinguish between environments

>That's irrelevant - MAAS knows which API key was used so it can make use of that.

Maybe I'm wrong but I don't think this is an information that is stored anywhere right now. Sure, when the API is used, MAAS knows which API key is being used, but after the request is performed and the node allocated, that information is lost, only which user took ownership of the node remains in the DB. So a subsequent request won't be able to tell with which API key this node was allocated. Unless we change the database that is.