Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support service_accounts option in Fog #14

Merged
merged 2 commits into from
Sep 22, 2014

Conversation

jgoldschrafe
Copy link
Contributor

Pass the service_accounts parameter to Fog, allowing instances to be created with an attached service account that has specific permissions on the project. For example, to create a test instance with user info, compute (read-only) and storage (read-only):

platforms:
  - name: ubuntu-12.04
    driver_config:
      # ...
      service_accounts:
        - userinfo.email
        - compute.readonly
        - devstorage.read_only

I haven't found a full list of OAuth scopes permitted in Google Compute Engine, but you can get a partial list by creating an instance through the web console and viewing the generated REST command.

anl added a commit that referenced this pull request Sep 22, 2014
Support service_accounts option in Fog
@anl anl merged commit c3b59e7 into test-kitchen:master Sep 22, 2014
@anl
Copy link
Contributor

anl commented Sep 22, 2014

Merged - thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants