# GCR

Steps to be followed:

1. Login to your GCP console&#x20;
2. [Create a Service Account](https://cloud.google.com/iam/docs/creating-managing-service-accounts)  with the  **following permissions**
3. [Generate a Service Key](https://cloud.google.com/iam/docs/creating-managing-service-account-keys)  mapped to the Service Account&#x20;
4. Upload the Service Key to save the GCR instance as a provider&#x20;

Permissions:\ <br>

| <ul><li>artifactregistry.repositories.get</li><li>artifactregistry.repositories.list</li><li>artifactregistry.tags.get</li><li>artifactregistry.tags.list</li><li>artifactregistry.locations.get</li><li>artifactregistry.locations.list</li><li>artifactregistry.dockerimages.get</li><li>artifactregistry.dockerimages.list</li><li>storage.buckets.create</li><li>storage.buckets.delete</li><li>storage.buckets.get</li><li>storage.buckets.list</li><li>storage.buckets.update</li><li>storage.objects.get</li><li>storage.objects.list</li><li>storage.objects.update</li><li>storage.objects.create </li></ul> |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

|   |
| - |
