Show / Hide Table of Contents

Class GetAccountAccessToken

Inheritance
System.Object
GetAccountAccessToken
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Gcp.ServiceAccount
Assembly: Pulumi.Gcp.dll
Syntax
public static class GetAccountAccessToken

Methods

View Source

InvokeAsync(GetAccountAccessTokenArgs, InvokeOptions)

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()

{{% examples %}} {{% /examples %}}

Declaration
public static Task<GetAccountAccessTokenResult> InvokeAsync(GetAccountAccessTokenArgs args, InvokeOptions options = null)
Parameters
Type Name Description
GetAccountAccessTokenArgs args
InvokeOptions options
Returns
Type Description
System.Threading.Tasks.Task<GetAccountAccessTokenResult>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.