SecretAzureCreating Secret

Azure’s Secret:

In order to interact with Azure service such AKS , you will need to add azure cloud secret into the Gripo application. Use the following steps to get the secret and add to GRiPO.

Create Secret on Gripo
  • To create a secret, navigate to the Administration section and select Settings.

azure

  • Click on Secret

azure

  • To initiate the secret creation process, click on the Create button.

    azure

  • A pop-up window will appear displaying various cloud providers when Proceed by selecting Azure.

azure

  • After selecting your Azure secret, a form will be presented for you to enter the required details.

azure

  • To fill in the required fields, the necessary variables must first be created in the Azure Portal.
Create Secret Variables From Azure portal
  • Sign in to the Microsoft Azure portal at https://portal.azure.com.
  • Click “Sign In” in the top right corner.
  • Enter your Microsoft account credentials.
  • Complete two-factor authentication if enabled.
  • Once signed in, access and manage your Azure resources through the Azure portal.
  • Four variables are required from the Azure portal: Client ID, Tenant ID, Subscription ID, and Secret Value Or key.

Client ID and tenant ID:

  • To generate Client ID , it is necessary to navigate in App registration Section to register your application.


    App Registration:
  • After signing in, click on the hamburger menu in the top left corner

azure

  • Select “All Services” to navigate to the desired feature.

azure



  • In the “All Services” section, click on the “Identity” category among the side tabs.
  • Within the “Identity” category, find and click on the “App Registration” button in the Identity Management section.

azure

  • Choose ‘New Registration’ to access a data-entry form.

azure

  • Provide details ‘Application Name’

  • In ‘Supported Account Types’ , select the type .

  • Supported Account Types determine permissible user categories.

  • Click ‘Register’ to complete the initial app registration.


    azure


  • After clicking the register button, a Client ID and Tenant ID will be generated. You can view the Client ID and Tenant ID in the overview section

  • The client ID uniquely identifies your application in the Microsoft identity platform.

azure

Secret Value Or Key:

  • To create a client secret, click on Client Credentials in Overveiw section.

azure

  • In the Certificates & Secrets section, select Client Secrets, then click on + New Client Secret to create a new secret

azure

  • When making a new client secret, describe it briefly and set an expiration date for added security
  • Click the ‘Add’ button.

azure

  • A confirmation popup window appears, indicating that the credentials have been successfully added.

azure

Copy New Client Secret Value
  • After saving the client secret, note that it’s a one-time revelation. Copy and securely store it alongside other essential values in your application’s source code, such as client ID. This secret, combined with the client ID, ensures a secure sign-in experience.

azure

Subscription ID:

  • To obtain the subscription ID, click on ‘Microsoft Azure’


    azure


  • Next, click on the ‘Subscriptions’ button

azure

  • Within the subscription segment, you will find your subscription name alongside the subscription ID
  • Copied the subscription ID for futher process.

azure

Role Assign to App:

Click on your subscription Name to proceed with further actions.

azure

  • Once in the details, click on “IAM.”

azure

  • Click on the “Add” option.

azure

  • Proceed to select “Add role assignment azure
  • In the Role tab, carefully choose a role that aligns with your intentions (Job function roles or Privileged administrator roles) for the application.

azure

  • Click on Privileged administrator roles

azure

  • For actions like rebooting and managing instances, select the Contributor role.
  • After your role selection, it will be appended to your interface. Subsequently, advance the process by clicking on the “Next” button.

azure

  • In the Members tab, choose “Assign access to” and select “User, group, or service principal.”
  • Click on + Select Member

azure

  • Locate your application name by searching for it in the search box.
  • Select your’s application name and click on it.
  • Click on Select buttom

azure

  • Now, you can see the name, Object ID, and type clearly.
  • Click on Next button

azure

  • In the “Review + Assign” tab, elegantly opt for the “Review + Assign” button to continue the process.

azure

  • A confirmation pop-up window will appear to verify the addition of the contributor role.

azure
22222

Copied the variables :* Within the ‘All Services’ category, find and click on the ‘App Registration’ option under the ‘Identity’ Management section. Then, select ‘All Applications’.

  • Click on your application name.
  • Navigate to ‘Overview’
  • Find the Client ID , Tenant ID and Object ID in the “Overview” section of your application.
  • Copy the Object ID, Client ID ,Tenant ID for the next stepsnpm run build

azure

  • Paste Client ID , Tenant ID , Subscription ID and Client Secret key Which is copied from azure portal and submit it by clicking the “Submit” button.

azure



Next Steps

After adding secret you can proceed to cluster provisioning