Skip to content

Resource Manager can't be used on a global basis #864

Description

@stephenplusplus

Resource Manager support was integrated in #860, but with many limitations:

these methods [are] currently implemented and unit tested, but not exposed to our docs:

  • resource.createProject
  • project.delete
  • project.restore
  • project.setMetadata

Right now, Resource Manager can only get a list of projects from a user and the metadata for them. Other operations (the ones above) return a 403.

Activity

  1. stephenplusplus commented on Sep 16, 2015

    @stephenplusplus
    ContributorAuthor

    Carrying this over from #851:

    Yea, creating right now can only be done by a "person". In Python, this works by first running gcloud auth login on the command-line.

    Does gcloud-node pick up the Cloud SDK's credentials in the same way? If so, these will work nicely.

    Eventually, service accounts will be able to create projects, but that isn't the case yet.

    - @jgeewax

    We do support the gcloud sdk's credentials (thanks to google-auth-library), but it still returns "The caller does not have permission" when trying to create a project. To confirm the credentials are being picked up, after doing gcloud auth revoke, the same API call returns "invalid_grant" instead.

  2. stephenplusplus commented on Oct 6, 2015

    @stephenplusplus
    ContributorAuthor

    @jgeewax maybe a whitelisting issue? Project ID is nth-circlet-705.

  3. jgeewax commented on Oct 10, 2015

    @jgeewax
    Contributor

    Give it a try now?

  4. stephenplusplus commented on Oct 10, 2015

    @stephenplusplus
    ContributorAuthor

    It works! So, I guess since this is just an issue of the API being officially released, there's nothing left to do with the codebase.

  5. jgeewax commented on Oct 10, 2015

    @jgeewax
    Contributor
  6. added a commit that references this issue on Jan 17, 2023
  7. 1 remaining item

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

status: blockedResolving the issue is dependent on other work.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions