클라이언트 설정¶
Backend.AI API 설정에는 endpoint URL과 API keypair (access 및 secret key) 등이 포함됩니다.
설정 방법은 2가지가 있습니다:
Setting environment variables before running your program that uses this SDK. This applies to the command-line interface as well.
Manually creating
APIConfig
instance and creating sessions with it.
The list of configurable environment variables are:
BACKEND_ENDPOINT
BACKEND_ENDPOINT_TYPE
BACKEND_ACCESS_KEY
BACKEND_SECRET_KEY
BACKEND_VFOLDER_MOUNTS
Please refer the parameter descriptions of APIConfig
’s constructor
for what each environment variable means and what value format should be used.