New-AzMLWorkspaceDatastoreServicePrincipalCredentialObject
Create an in-memory object for ServicePrincipalDatastoreCredentials.
Syntax
New-AzMLWorkspaceDatastoreServicePrincipalCredentialObject
-ClientId <String>
-TenantId <String>
-ClientSecret <String>
[-AuthorityUrl <String>]
[-ResourceUrl <String>]
[<CommonParameters>]
Description
Create an in-memory object for ServicePrincipalDatastoreCredentials.
Examples
Example 1: Create an in-memory object for ServicePrincipalDatastoreCredentials
New-AzMLWorkspaceDatastoreServicePrincipalCredentialObject
Create an in-memory object for ServicePrincipalDatastoreCredentials
Parameters
-AuthorityUrl
Authority URL used for authentication.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ClientId
[Required] Service principal client ID.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ClientSecret
[Required] Service principal secret.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceUrl
Resource the service principal has access to.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-TenantId
[Required] ID of the tenant to which the service principal belongs.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |