ApiKeyAuthentication Class

ApiKey authentication gives a name and a value that can be included in either the request header or query parameters.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.deploymentmanager.models._models_py3.RestRequestAuthentication
ApiKeyAuthentication

Constructor

ApiKeyAuthentication(*, name: str, in_property: Union[str, azure.mgmt.deploymentmanager.models._azure_deployment_manager_enums.RestAuthLocation], value: str, **kwargs)

Parameters

type
str or RestAuthType
Required

Required. The authentication type.Constant filled by server. Possible values include: "ApiKey", "RolloutIdentity".

name
str
Required

Required. The key name of the authentication key/value pair.

in_property
str or RestAuthLocation
Required

Required. The location of the authentication key/value pair in the request. Possible values include: "Query", "Header".

value
str
Required

Required. The value of the authentication key/value pair.