New-AzMLWorkspaceDatastoreCredentialObject

Create an in-memory object for CertificateDatastoreCredentials.

Syntax

New-AzMLWorkspaceDatastoreCredentialObject
   -ClientId <String>
   -TenantId <String>
   -Thumbprint <String>
   -Certificate <String>
   [-AuthorityUrl <String>]
   [-ResourceUrl <String>]
   [<CommonParameters>]

Description

Create an in-memory object for CertificateDatastoreCredentials.

Examples

Example 1: Create an in-memory object for CertificateDatastoreCredential

New-AzMLWorkspaceDatastoreCredentialObject

Create an in-memory object for CertificateDatastoreCredential

Parameters

-AuthorityUrl

Authority URL used for authentication.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Certificate

[Required] Service principal certificate.

Type:String
Position:Named
Default value:None
Required:True
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

-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

-Thumbprint

[Required] Thumbprint of the certificate used for authentication.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

Outputs

CertificateDatastoreCredentials