---
title: esc env provider gcp-login | CLI commands
url: /docs/esc/cli/commands/esc_env_provider_gcp-login/
---

Add a GCP login provider to an environment

## Synopsis

[EXPERIMENTAL] Add a GCP login provider to an environment

Subcommands select the authentication mode: `static` for static credentials,
`oidc` for federated identity via OpenID Connect.

See https://www.pulumi.com/docs/esc/integrations/dynamic-login-credentials/gcp-login/
for the full provider reference.

## Options

```
  -h, --help   help for gcp-login
```

## Options inherited from parent commands

```
      --env string   The name of the environment to operate on.
```

## SEE ALSO

* [esc env provider](/docs/esc/cli/commands/esc_env_provider/)	 - Manage login providers within an environment
* [esc env provider gcp-login oidc](/docs/esc/cli/commands/esc_env_provider_gcp-login_oidc/)	 - Add a GCP OIDC login provider to an environment
* [esc env provider gcp-login static](/docs/esc/cli/commands/esc_env_provider_gcp-login_static/)	 - Add a GCP static-credentials login provider to an environment


