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
Returns the trust boundary info for a given workforce pool.
Required. Resource name of workforce pool.
Returns the trust boundary info for a given workload identity pool.
Required. Resource name of workload identity pool.
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.
Returns the trust boundary info for a given service account.
Required. Resource name of service account.
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.