Interface AuthConfigOauthConfig

Config for user oauth.

interface AuthConfigOauthConfig {
    accessToken?: string;
    serviceAccount?: string;
}

Properties

accessToken?: string

Access token for extension endpoint. Only used to propagate token from [[ExecuteExtensionRequest.runtime_auth_config]] at request time.

serviceAccount?: string

The service account used to generate access tokens for executing the Extension. - If the service account is specified, the iam.serviceAccounts.getAccessToken permission should be granted to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the provided service account.