Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
1.5 KiB
Markdown
Raw Normal View History

---
2025-08-12 13:29:42 +05:30
title: gcpCredentials
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*.
## 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`.
- **`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`.
- **`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`.
- **`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`.
2025-08-12 13:29:42 +05:30
Documentation file automatically generated at 2025-08-12 05:39:47.683420+00:00.