Options
All
  • Public
  • Public/Protected
  • All
Menu

Url-sourced/file-sourced credentials json interface. This is used for K8s and Azure workloads.

Hierarchy

Index

Properties

audience: string
client_id?: string
client_secret?: string
credential_source: { file?: string; format?: { subject_token_field_name?: string; type: SubjectTokenFormatType }; headers?: {}; url?: string }

Type declaration

  • Optional file?: string
  • Optional format?: { subject_token_field_name?: string; type: SubjectTokenFormatType }
  • Optional headers?: {}
    • [key: string]: string
  • Optional url?: string
credentials?: Credentials
eagerRefreshThresholdMillis?: number

The expiration threshold in milliseconds before forcing token refresh of unexpired tokens.

forceRefreshOnFailure?: boolean

Whether to attempt to refresh tokens on status 401/403 responses even if an attempt is made to refresh the token preemptively based on the expiry_date.

projectId: undefined | null | string
project_id: undefined | null | string
quotaProjectId: undefined | string
quota_project_id: undefined | string
service_account_impersonation?: { token_lifetime_seconds?: number }

Type declaration

  • Optional token_lifetime_seconds?: number
service_account_impersonation_url?: string
subject_token_type: string
token_info_url?: string
token_url: string
transporter?: Transporter | Gaxios

A Gaxios or Transporter instance to use for AuthClient requests.

transporterOptions?: GaxiosOptions

Provides default options to the transporter, such as agent or retryConfig.

type: string
universeDomain: undefined | string
universe_domain: undefined | string
workforce_pool_user_project?: string