Share via


AzureFilesIdentityBasedAuthentication Class

Settings for Azure Files identity based authentication.

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

Constructor

AzureFilesIdentityBasedAuthentication(*, directory_service_options: str | _models.DirectoryServiceOptions, active_directory_properties: _models.ActiveDirectoryProperties | None = None, default_share_permission: str | _models.DefaultSharePermission | None = None, smb_o_auth_settings: _models.SmbOAuthSettings | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
directory_service_options

Indicates the directory service used. Note that this enum may be extended in the future. Required. Known values are: "None", "AADDS", "AD", and "AADKERB".

active_directory_properties

Additional information about the directory service. Required if directoryServiceOptions is AD (AD DS authentication). Optional for directoryServiceOptions AADDS (Entra DS authentication) and AADKERB (Entra authentication).

Default value: None
default_share_permission

Default share permission for users using Kerberos authentication if RBAC role is not assigned. Known values are: "None", "StorageFileDataSmbShareReader", "StorageFileDataSmbShareContributor", and "StorageFileDataSmbShareElevatedContributor".

Default value: None
smb_o_auth_settings

Required for Managed Identities access using OAuth over SMB.

Default value: None

Variables

Name Description
directory_service_options

Indicates the directory service used. Note that this enum may be extended in the future. Required. Known values are: "None", "AADDS", "AD", and "AADKERB".

active_directory_properties

Additional information about the directory service. Required if directoryServiceOptions is AD (AD DS authentication). Optional for directoryServiceOptions AADDS (Entra DS authentication) and AADKERB (Entra authentication).

default_share_permission

Default share permission for users using Kerberos authentication if RBAC role is not assigned. Known values are: "None", "StorageFileDataSmbShareReader", "StorageFileDataSmbShareContributor", and "StorageFileDataSmbShareElevatedContributor".

smb_o_auth_settings

Required for Managed Identities access using OAuth over SMB.