get_webservice_keys: Retrieve auth keys for a web service

Description Usage Arguments Value See Also

View source: R/webservice.R

Description

Get the authentication keys for a web service that is deployed with key-based authentication enabled. In order to enable key-based authentication, set the auth_enabled = TRUE parameter when you are creating or updating a deployment (either aci_webservice_deployment_config() or aks_webservice_deployment_config() for creation and update_aci_webservice() or update_aks_webservice() for updating). Note that key-based auth is enabled by default for AksWebservice but not for AciWebservice.

To check if a web service has key-based auth enabled, you can access the following boolean property from the Webservice object: service$auth_enabled

Not supported for LocalWebservice deployments.

Usage

1
get_webservice_keys(webservice)

Arguments

webservice

The AciWebservice or AksWebservice object.

Value

A list of two strings corresponding to the primary and secondary authentication keys.

See Also

generate_new_webservice_key()


azuremlsdk documentation built on Oct. 23, 2020, 8:22 p.m.