1. 程式人生 > >金山雲

金山雲

on() key () ng- ssl ret import secret acc

from kscore.session import get_session
ACCESS_KEY_ID = "your ak"
SECRET_ACCESS_KEY = "your sk"

region="cn-beijing-6"
def create_vm():
s = get_session()

client = s.create_client("kec", region, use_ssl=False,
ks_access_key_id=ACCESS_KEY_ID, ks_secret_access_key=SECRET_ACCESS_KEY)
client.create

金山雲