Dela via


Remove-AksHciGmsaCredentialSpec

Synopsis

Tar bort en autentiseringsspecifikation för gMSA-distributioner i ett kluster.

Syntax

Remove-AksHciGmsaCredentialSpec -name <String> 
                             -credSpecName <String>
                             -clusterRoleName <String>
                             [-secretNamespace <String>]
                             [-serviceAccount <String>]
                             [-activity <String>]                      

Description

Tar bort en autentiseringsspecifikation för gMSA-distributioner i ett kluster.

Exempel

Exempel

Remove-AksHciGmsaCredentialSpec -Name mycluster -CredSpecName credspec-mynewcluster -clusterRoleName clusterrole-mynewcluster

Parametrar

-Namn

Det alfanumeriska namnet på ditt Kubernetes-kluster.

Type: System.String
Parameter Sets: (All)
Aliases:

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

-credSpecName

Namnet på kubernetes-autentiseringsspecifikationsobjektet som användaren vill ange.

Type: System.String
Parameter Sets: (All)
Aliases:

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

-clusterRoleName

Namnet på kubernetes-klusterrollen som tilldelats kubernetes gMSA credspec-objektet.

Type: System.String
Parameter Sets: (All)
Aliases:

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

-secretNamespace

Namnrymd där Det hemliga Kubernetes-objektet finns.

Type: System.String
Parameter Sets: (All)
Aliases:

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

-serviceAccount

Namnet på kubernetes-tjänstkontot som tilldelats för att läsa objektet k8s gMSA credspec.

Type: System.String
Parameter Sets: (All)
Aliases:

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

-Aktivitet

Namnet på aktiviteten när förloppet uppdateras.

Type: System.String
Parameter Sets: (All)
Aliases:

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

Nästa steg

AksHci PowerShell-referens