Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GoogleCloudApihubV1AuthConfigTemplate

import type { GoogleCloudApihubV1AuthConfigTemplate } from "https://googleapis.deno.dev/v1/apihub:v1.ts";

AuthConfigTemplate represents the authentication template for a plugin.

interface GoogleCloudApihubV1AuthConfigTemplate {
supportedAuthTypes?:
| "AUTH_TYPE_UNSPECIFIED"
| "NO_AUTH"
| "GOOGLE_SERVICE_ACCOUNT"
| "USER_PASSWORD"
| "API_KEY"
| "OAUTH2_CLIENT_CREDENTIALS"[];
}

§Properties

§

Optional. The service account of the plugin hosting service. This service account should be granted the required permissions on the Auth Config parameters provided while creating the plugin instances corresponding to this plugin. For example, if the plugin instance auth config requires a secret manager secret, the service account should be granted the secretmanager.versions.access permission on the corresponding secret, if the plugin instance auth config contains a service account, the service account should be granted the iam.serviceAccounts.getAccessToken permission on the corresponding service account.

§
supportedAuthTypes?: "AUTH_TYPE_UNSPECIFIED" | "NO_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "USER_PASSWORD" | "API_KEY" | "OAUTH2_CLIENT_CREDENTIALS"[]
[src]

Required. The list of authentication types supported by the plugin.