How do I set-up my deployment workstation for MFA-As-Code?
2. Deployment Workstation Setup - Install Visual Studio Code Extensions From Microsoft.
- Azure Account - Sign-on and subscription management.
- Azure Developer CLI - This extension makes it easier to create and run Azure Resources.
- Azure Databases - Create, browse, and update globally distributed, multi-model database.
- Azure App Service - An Azure App Service management extension for Visual Studio Code.
- Azure Resources - An extension for viewing and managing Azure resources.
- .NET Install Tool -This extension installs and manages different versions of the .NET SDK
- Bicep - Download home page here.
- Verify git is installed by opening a command line prompt and typing git --version.
- Open Visual Studio Code and press and hold Ctrl + ` to open the terminal.
- Open the command palette using Ctrl + Shift + P.
- In the search box type Select Default Profile in the Command Palette and select it from the dropdown menu.
- Select Git Bash from the options.
- To verify, open a new terminal by pressing Ctrl + Shift + ~ (or Cmd + Shift + ~ on macOS). Git Bash should now open as the default terminal.
- Navigate to this sourceforge page: https://sourceforge.net/projects/gnuwin32/files/zip/3.0/
- Download zip-3.0-bin.zip
- In the zipped file, in the bin folder, find the file zip.exe.
- Extract the file zip.exe to your mingw64 bin folder (for me: C:\Program Files\Git\mingw64\bin)
- Navigate to this sourceforge page: https://sourceforge.net/projects/gnuwin32/files/bzip2/1.0.5/
- Download bzip2-1.0.5-bin.zip
- In the zipped file, in the bin folder, find the file bzip2.dll
- Extract bzip2.dll to your mingw64\bin folder (same folder as above: C:\Program Files\Git\mingw64\bin)
- Run the git-bash shell as an administrator.
- Execute the following commands:
- mkdir -p "${HOME}/.local/bin"
- curl -L -o "${HOME}/.local/bin/jq.exe" \ https://github.com/stedolan/jq/releases/latest/download/jq-win64.exe
9. Download and Run the MFA-As-Code Installer - Run the .exe or .msi installer provided by SurePassID Technical Support. After installation, you will see a directory structure with two high-level folders:
-
App Services - Contains subfolders for each authentication server application available for installation.
-
Private Cloud - Contains subfolders for building and deploying the infrastructure, initializing the system, configuring the database, and deploying the application code.
10. Start the Mfa-As-Code Deployment - You will see a short-cut on the desktop for the MFA-As-Code System Initializer.
11. Start-up Visual Studio Code - Open the Private Cloud folder to begin building and deploying the infrastructure and system.