---
title: esc env provider aws-login | CLI commands
url: /docs/esc/cli/commands/esc_env_provider_aws-login/
---

Add an AWS login provider to an environment

## Synopsis

[EXPERIMENTAL] Add an AWS 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/aws-login/
for the full provider reference.

## Options

```
  -h, --help   help for aws-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 aws-login oidc](/docs/esc/cli/commands/esc_env_provider_aws-login_oidc/)	 - Add an AWS OIDC login provider to an environment
* [esc env provider aws-login static](/docs/esc/cli/commands/esc_env_provider_aws-login_static/)	 - Add an AWS static-credentials login provider to an environment


