GetClientOpenIdUserInfo
Get OpenID userinfo about the credentials used with the Google provider, specifically the email.
This datasource enables you to export the email of the account you’ve
authenticated the provider with; this can be used alongside
data.google_client_config’s access_token to perform OpenID Connect
authentication with GKE and configure an RBAC role for the email used.
This resource will only work as expected if the provider is configured to use the
https://www.googleapis.com/auth/userinfo.emailscope! You will receive an error otherwise.
Using GetClientOpenIdUserInfo
function getClientOpenIdUserInfo(opts?: InvokeOptions): Promise<GetClientOpenIdUserInfoResult>function get_client_open_id_user_info(opts=None)func GetClientOpenIdUserInfo(ctx *Context, opts ...InvokeOption) (*GetClientOpenIdUserInfoResult, error)public static class GetClientOpenIdUserInfo {
public static Task<GetClientOpenIdUserInfoResult> InvokeAsync(InvokeOptions? opts = null)
}GetClientOpenIdUserInfo Result
The following output properties are available:
Package Details
- Repository
- https://github.com/pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-betaTerraform Provider.