Skip to main content
Version: 1.4.0

GCPServiceAccountKeyCredentials

class GCPServiceAccountKeyCredentials(service_account_key: str | Secret)

Bases: GCPCredentials

Categories: credentials

Credentials class to store the credentials needed to access GCS using account key credentials (service account key).

Attributes: service_account_key (Secret): The GCS service account key.

Methods: to_dict() -> dict: Convert the GCPServiceAccountKeyCredentials object to a dictionary

Initialize the GCPServiceAccountKeyCredentials object.

Parameters

parameter
service_account_keystr | Secret

The GCS service account key.

Properties

property
service_account_keySecret

The GCS service account key.