Regenerate either the primary or secondary authentication key for an AciWebservice or AksWebservice.The web service must have been deployed with key-based authentication enabled.

Not supported for LocalWebservice deployments.

generate_new_webservice_key(webservice, key_type)

Arguments

webservice

The AciWebservice or AksWebservice object.

key_type

A string of which key to regenerate. Options are "Primary" or "Secondary".

Value

None