[Yandex Cloud documentation](../../../index.md) > [Tutorials](../../index.md) > [Microsoft products in Yandex Cloud](../index.md) > Secure password transmission to an initialization script > Overview

# Secure password transmission to an initialization script

You can use an initialization script when creating a VM based on a Windows image. Such a script may contain system user passwords To protect sensitive data, use [Yandex Lockbox](../../../lockbox/index.md) tools and [Yandex Key Management Service](../../../kms/index.md) keys instead of explicitly specifying settings in the script.

In this tutorial, you will create a Windows VM using an initialization script which retrieves usernames and passwords from Yandex Lockbox.

You can create a Windows VM while protecting sensitive information in the initialization script using one of the following tools:

* [Management console, CLI, API](console.md): Create your infrastructure step by step from the Yandex Cloud management console, CLI, or API.
* [Terraform](terraform.md): Streamline creating and managing your resources with the _infrastructure as code_ (IaC) approach. Download a Terraform configuration example from the GitHub repository and deploy your infrastructure using the [Yandex Cloud Terraform provider](../../../terraform/index.md).