SharedAccessSignatureAuthorizationRule Class

The properties of an IoT hub shared access policy.

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

Inheritance
SharedAccessSignatureAuthorizationRule

Constructor

SharedAccessSignatureAuthorizationRule(*, key_name: str, rights: Union[str, azure.mgmt.iothub.v2019_03_22.models._iot_hub_client_enums.AccessRights], primary_key: Optional[str] = None, secondary_key: Optional[str] = None, **kwargs)

Variables

key_name
str

Required. The name of the shared access policy.

primary_key
str

The primary key.

secondary_key
str

The secondary key.

rights
str or AccessRights

Required. The permissions assigned to the shared access policy. Possible values include: "RegistryRead", "RegistryWrite", "ServiceConnect", "DeviceConnect", "RegistryRead, RegistryWrite", "RegistryRead, ServiceConnect", "RegistryRead, DeviceConnect", "RegistryWrite, ServiceConnect", "RegistryWrite, DeviceConnect", "ServiceConnect, DeviceConnect", "RegistryRead, RegistryWrite, ServiceConnect", "RegistryRead, RegistryWrite, DeviceConnect", "RegistryRead, ServiceConnect, DeviceConnect", "RegistryWrite, ServiceConnect, DeviceConnect", "RegistryRead, RegistryWrite, ServiceConnect, DeviceConnect".