IAMCredentials
import { IAMCredentials } from "https://googleapis.deno.dev/v1/iamcredentials:v1.ts";
Creates short-lived credentials for impersonating IAM service accounts. Disabling this API also disables the IAM API (iam.googleapis.com). However, enabling this API doesn't enable the IAM API.
§Methods
Generates an OAuth 2.0 access token for a service account.
Required. The resource name of the service account for which the credentials are requested, in the following format: projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}
. The -
wildcard character is required; replacing it with a project ID is invalid.
Generates an OpenID Connect ID token for a service account.
Required. The resource name of the service account for which the credentials are requested, in the following format: projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}
. The -
wildcard character is required; replacing it with a project ID is invalid.
Signs a blob using a service account's system-managed private key.
Required. The resource name of the service account for which the credentials are requested, in the following format: projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}
. The -
wildcard character is required; replacing it with a project ID is invalid.
Signs a JWT using a service account's system-managed private key.
Required. The resource name of the service account for which the credentials are requested, in the following format: projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}
. The -
wildcard character is required; replacing it with a project ID is invalid.