Prerequisites
To complete the prerequisites:
- Download the required scripts from the Fortinet GitHub repository.
- Place the files in a GCP storage bucket:
- Do one of the following:
- To create a new bucket, in GCP, go to Storage > Browser, then click Create Bucket.
- To upload the files in an existing bucket, in GCP, go to Storage > Browser, and click the desired bucket.
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.
- Upload the scripts that you downloaded to the bucket.
- Do one of the following:
- Set up the environment. Do one of the following:
- Set up a Linux machine with python3 and PyJWT to execute the scripts. For details, see Setting up a Python development environment.
- 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