New-AzServiceLinkerServicePrincipalSecretAuthInfoObject
Create an in-memory object for ServicePrincipalSecretAuthInfo.
Syntax
New-AzServiceLinkerServicePrincipalSecretAuthInfoObject
-ClientId <String>
-PrincipalId <String>
-Secret <String>
[<CommonParameters>]
Description
Create an in-memory object for ServicePrincipalSecretAuthInfo.
Examples
Example 1: Create AuthInfo of service principal secret type
New-AzServiceLinkerServicePrincipalSecretAuthInfoObject -ClientId 00000000-0000-0000-0000-000000000000 -PrincipalId 00000000-0000-0000-0000-000000000000 -Secret secret
AuthType ClientId PrincipalId
-------- -------- -----------
servicePrincipalSecret 00000000-0000-0000-0000-000000000000 00000000-0000-0000-0000-00…
Create AuthInfo of service principal secret type
Parameters
-ClientId
ServicePrincipal application clientId for servicePrincipal auth.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PrincipalId
Principal Id for servicePrincipal auth.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Secret
Secret for servicePrincipal auth.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Azure PowerShell