Cloud Provider Checks

The pf9cp CLI helps users check IAM access and confirm pre-requisites for AWS, Azure and Google clouds. The CLI works by connecting to the target cloud using the same credentials as the Cloud Provider and validates if the credentials provided have the required access for Platform9 to build and manage clusters.

The pf9cp CLI supports Windows 10, MacOS, CentOS 7.X and Ubuntu 18.04 / 20.04

Install on Linux & macOS

From the command line of your machine, run the following to download and install the CLI tool.

Bash
Copy

Successful installation should look like:

Bash
Copy

Install On Windows

Download the CLI from the below links depending on the configuration of your machine.

Make sure that the downloaded exe file is in a folder that's on the PATH environment variable.

  • You can do this by either copying it into a folder that's already on the PATH or by adding your folder to the PATH.
  • Example:
    • Create a folder named pf9 in C drive.
    • Copy the downloaded pf9cp-win64.exe to the C:\pf9 folder. Rename the file to pf9cp for convenience.
    • Add C:\pf9 folder to your path by doing following:
      • Type Edit the system environment variables
      • Open the option Edit the system environment variables
      • Click Environment variables... button
      • UnderSystem Variables box find Path variable
      • Click Edit
      • A window pops up, click New
      • Type the C:\pf9 in it.
      • Click OK on all open windows and restart the command prompt to use it.

PF9CP CLI Commands

Command: help

This command provides help about supported commands.

Bash
Copy

Command: check-amazon-provider

This command checks if user has amazon cloud permissions.

Bash
Copy

Follow this link to get your AWS access key and secret key if you do not have them: https://docs.aws.amazon.com/powershell/latest/userguide/pstools-appendix-sign-up.html

Successful command run should look like:

Bash
Copy

Command: check-google-provider

This command checks if user has google cloud permissions.

Bash
Copy

Follow this link to get your Google service account keys if you do not have them: https://cloud.google.com/iam/docs/creating-managing-service-account-keys

Successful command run should look like:

Bash
Copy

Command: check-azure-provider

This command checks if user has azure cloud permissions

Bash
Copy

Follow this link to get your Azure tenant information if you do not have it: https://docs.microsoft.com/en-us/azure/active-directory/fundamentals/active-directory-how-to-find-tenant

Successful command run should look like:

Bash
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
  Last updated by Anmol Sachan