

Las traducciones son generadas a través de traducción automática. En caso de conflicto entre la traducción y la version original de inglés, prevalecerá la version en inglés.

# Activación de un clúster con la CLI de CloudHSM
<a name="cloudhsm_cli-cluster-activate"></a>

Use el comando **cluster activate** en la CLI de CloudHSM para [activar un nuevo clúster](activate-cluster.md) en AWS CloudHSM. Este comando debe ejecutarse antes de usar el clúster para llevar a cabo operaciones criptográficas.

## Tipo de usuario
<a name="cluster-activate-userType"></a>

Los tipos de usuarios siguientes pueden ejecutar este comando.
+ Administrador desactivado

## Sintaxis
<a name="chsm-cli-cluster-activate-syntax"></a>

Este comando no tiene parámetros.

```
aws-cloudhsm > help cluster activate
Activate a cluster

This command will set the initial Admin password. This process will cause your CloudHSM cluster to
move into the ACTIVE state.

USAGE:
    cloudhsm-cli cluster activate [OPTIONS] [--password <PASSWORD>]

Options:
      --cluster-id <CLUSTER_ID>
          Unique Id to choose which of the clusters in the config file to run the operation against. If not provided, will fall back to the value provided when interactive mode was started, or error

      --password <PASSWORD>
          Optional: Plaintext activation password If you do not include this argument you will be prompted for it

  -h, --help
          Print help (see a summary with '-h')
```

## Ejemplo
<a name="chsm-cli-cluster-activate-examples"></a>

Este comando activa el clúster estableciendo la contraseña inicial de su usuario administrador.

```
aws-cloudhsm > cluster activate
Enter password:
Confirm password:
{
  "error_code": 0,
  "data": "Cluster activation successful"
}
```

## Temas relacionados
<a name="chsm-cluster-activate-seealso"></a>
+ [user create](cloudhsm_cli-user-create.md)
+ [user delete](cloudhsm_cli-user-delete.md)
+ [cambio de la contraseña de un usuario](cloudhsm_cli-user-change-password.md)