Before using faascmd, you need to configure the related environment variable and the AccessKey of the RAM user.
- Log on to your instance and configure the PATH environment variable by running the following command:
export PATH=$PATH:<path where faascmd is located>
- Configure the AccessKey (that is, the AccessKeyId and AccessKeySecret) by running the following command:
faascmd config --id=<yourAccessKeyID> --key=<yourAccessKeySecret>