Before you use faascmd, you must configure the environment variables and the AccessKey pair of the RAM user.

Procedure

  1. After you log on to the instance, run the following command to configure the environment variable PATH:
    export PATH=$PATH:/<The path of faascmd>/bin
  2. Run the following command to configure your AccessKey ID and AccessKey secret:
    faascmd config --id=<yourAccessKeyID> --key=<yourAccessKeySecret>