Cloud Provider Checks

The pf9cp CLI helps users check IAM access and confirm prerequisites for AWS. 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 one of the links below that match your configuration.

If using Windows, ensure that the downloaded exe file is located in a folder that is on the PATH environment variable. You can accomplish this by either copying it into a folder that's already on the PATH or by adding your folder to the PATH.

For 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 the following:
  • Type Edit the system environment variables
    • Open the option Edit the system environment variables
    • Click Environment variables... button
    • Under the System 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

Syntax Example

Bash
Copy

All Available Commands and Flags

Bash
Copy

Command Examples

Command: check-amazon-provider

This command checks if a user have the appropriate 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

A successful command effort 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