New-AzMLWorkspaceDatastoreServicePrincipalCredentialObject
Create an in-memory object for ServicePrincipalDatastoreCredentials.
Syntax
New-AzMLWorkspaceDatastoreServicePrincipalCredentialObject
-ClientId <String>
-ClientSecret <String>
-TenantId <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 |
Outputs
ServicePrincipalDatastoreCredentials
Notes
ALIASES
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure PowerShell
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for