# GCP VM Service Account

**URL:** <https://forum.serverless.com/t/gcp-vm-service-account/11593>\
**Category:** Serverless Framework\
**Tags:** google\
**Created:** [May 28, 2020, 5:43pm UTC](https://forum.serverless.com/t/gcp-vm-service-account/11593 "2020-05-28T17:43:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gchampion](https://avatars.discourse-cdn.com/v4/letter/g/e79b87/32.png) [@gchampion](https://forum.serverless.com/u/gchampion)\
**Post date:** [May 28, 2020, 5:43pm UTC](https://forum.serverless.com/t/gcp-vm-service-account/11593/1 "2020-05-28T17:43:07Z")

</div>

There’s the ability to specify a creds.json, but with GCP each VM has a service account. Any way to use this option instead of an unecrypted creds file?

---

<div class="post-metadata">

**Author:** ![Gmoshko](https://avatars.discourse-cdn.com/v4/letter/g/a587f6/32.png) [@Gmoshko](https://forum.serverless.com/u/Gmoshko)\
**Post date:** [July 1, 2020, 7:10am UTC](https://forum.serverless.com/t/gcp-vm-service-account/11593/2 "2020-07-01T07:10:23Z")

</div>

i have created my VM with credentials file but it seems that this cred is for serverless framework and not for the VM . how can i create the VM with Service account permission ?
