Serviceaccount Functions
Functions
Get the service account from a project. For more information see the official API documentation.
This data source provides a google oauth2
access_token
for a different service account than the one initially running the script. For more information see the official documentation as well as iamcredentials.generateAccessToken()
This data source provides a Google OpenID Connect (oidc
) id_token
. Tokens issued from this data source are typically used to call external services that accept OIDC tokens for authentication (e.g. Google Cloud Run). For more information see OpenID Connect.
This data source provides a self-signed JWT. Tokens issued from this data source are typically used to call external services that accept JWTs for authentication.
Get service account public key. For more information, see the official documentation and API.
Retrieves the current IAM policy data for a service account.