SharedAccessSignatureAuthorizationRule Class
The properties of an IoT hub shared access policy.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
azure.mgmt.iothub._serialization.ModelSharedAccessSignatureAuthorizationRule
Constructor
SharedAccessSignatureAuthorizationRule(*, key_name: str, rights: str | _models.AccessRights, primary_key: str | None = None, secondary_key: str | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
key_name
|
The name of the shared access policy. Required. |
primary_key
|
The primary key. |
secondary_key
|
The secondary key. |
rights
|
str or
AccessRights
The permissions assigned to the shared access policy. Required. Known values are: "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", and "RegistryRead, RegistryWrite, ServiceConnect, DeviceConnect". |
Variables
Name | Description |
---|---|
key_name
|
The name of the shared access policy. Required. |
primary_key
|
The primary key. |
secondary_key
|
The secondary key. |
rights
|
str or
AccessRights
The permissions assigned to the shared access policy. Required. Known values are: "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", and "RegistryRead, RegistryWrite, ServiceConnect, DeviceConnect". |
Azure SDK for Python