How would the administrator obtain the Azure client secret to configure on Terratorm?

Refer to the exhibit

An administrator is trying to deploy a FortiGate VM in Microsoft Azure using Terraform However, during the configuration, the Azure client secret is no longer visible in the Azure portal.

How would the administrator obtain the Azure client secret to configure on Terratorm?
A . The administrator must create a new Azure account
B . Log in to the Azure CLI with power user to obtain the client secret
C . The administrator can create a new client secret
D . The administrator must obtain the client secret through Azure Cloud Shell.

Answer: C

Explanation:

The Azure client secret is a one-time value that is only visible when it is created. If the administrator loses or forgets the client secret, they cannot retrieve it from the Azure portal. However, they can create a new client secret and use it to configure Terraform. To create a new client secret, they need to follow these steps12:

Sign in to the Azure portal and navigate to the Azure Active Directory service.

Select the application name under the App Registrations.

Select Certificates & Secrets > New client secret to create a new client secret. Add a description and an expiration date for the client secret and select Add. Copy the value of the new client secret immediately as it will not be shown again.

Reference: Generate new Client Secret and link to key-vault | Microsoft Learn

Azure Quickstart – Set and retrieve a secret from Key Vault using Azure portal | Microsoft Learn

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments