Fortinet white logo
Fortinet white logo

GCP Administration Guide

Prerequisites

Prerequisites

To complete the prerequisites:
  1. Download the required scripts from the Fortinet GitHub repository.
  2. Place the files in a GCP storage bucket:
    1. Do one of the following:
      1. To create a new bucket, in GCP, go to Storage > Browser, then click Create Bucket.
      2. To upload the files in an existing bucket, in GCP, go to Storage > Browser, and click the desired bucket.
      note icon

      You can store files securely by implementing measures such as disabling public access for the bucket and enforcing custom access control lists. See Security and Privacy Considerations.

    2. Upload the scripts that you downloaded to the bucket.
  3. Set up the environment. Do one of the following:
    1. Set up a Linux machine with python3 and PyJWT to execute the scripts. For details, see Setting up a Python development environment.
    2. Use the Google Cloud shell to run the scripts. To execute the scripts successfully, you must install the following dependencies on the GCP cloud shell:

      pip3 install --upgrade pip

      pip3 install cryptography

      pip3 install PyJWT

Prerequisites

Prerequisites

To complete the prerequisites:
  1. Download the required scripts from the Fortinet GitHub repository.
  2. Place the files in a GCP storage bucket:
    1. Do one of the following:
      1. To create a new bucket, in GCP, go to Storage > Browser, then click Create Bucket.
      2. To upload the files in an existing bucket, in GCP, go to Storage > Browser, and click the desired bucket.
      note icon

      You can store files securely by implementing measures such as disabling public access for the bucket and enforcing custom access control lists. See Security and Privacy Considerations.

    2. Upload the scripts that you downloaded to the bucket.
  3. Set up the environment. Do one of the following:
    1. Set up a Linux machine with python3 and PyJWT to execute the scripts. For details, see Setting up a Python development environment.
    2. Use the Google Cloud shell to run the scripts. To execute the scripts successfully, you must install the following dependencies on the GCP cloud shell:

      pip3 install --upgrade pip

      pip3 install cryptography

      pip3 install PyJWT