2023-08-27 10:55:55 +02:00
---
2025-08-12 13:29:42 +05:30
title: gcpCredentials
2023-08-27 10:55:55 +02:00
slug: /main-concepts/metadata-standard/schemas/security/credentials/gcpcredentials
---
# GCPCredentials
*GCP credentials configs.*
## Properties
- **`gcpConfig` **: We support two ways of authenticating to GCP i.e via GCP Credentials Values or GCP Credentials Path.
2025-08-12 13:29:42 +05:30
- **`gcpImpersonateServiceAccount` **: we enable the authenticated service account to impersonate another service account. Refer to *#/definitions/GCPImpersonateServiceAccountValues* .
2023-08-27 10:55:55 +02:00
## Definitions
2025-08-12 13:29:42 +05:30
- **`gcpADC` ** *(object)* : Use the application default credentials.
- **`type` ** *(string)* : Google Cloud Platform ADC ( Application Default Credentials ). Default: `gcp_adc` .
- **`projectId` **: GCP Project ID to parse metadata from. Default: `None` .
2025-01-15 17:46:55 +05:30
- **`gcpCredentialsPath` ** *(object)* : Pass the path of file containing the GCP credentials info.
2025-08-12 13:29:42 +05:30
- **`type` ** *(string)* : Google Cloud Platform account type. Default: `gcp_credential_path` .
2025-01-15 17:46:55 +05:30
- **`path` ** *(string)* : Path of the file containing the GCP credentials info.
2025-08-12 13:29:42 +05:30
- **`projectId` **: GCP Project ID to parse metadata from. Default: `None` .
2023-10-28 00:07:31 +05:30
- **`GCPImpersonateServiceAccountValues` ** *(object)* : Pass the values to impersonate a service account of Google Cloud.
- **`impersonateServiceAccount` ** *(string)* : The impersonated service account email.
- **`lifetime` ** *(integer)* : Number of seconds the delegated credential should be valid. Default: `3600` .
2023-08-27 10:55:55 +02:00
2025-08-12 13:29:42 +05:30
Documentation file automatically generated at 2025-08-12 05:39:47.683420+00:00.