Add-AksHciGmsaCredentialSpec
Adds a credentials spec for gMSA deployments on a cluster.
Add-AksHciGmsaCredentialSpec -name <String>
-credSpecFilePath <String>
-credSpecName <String>
-clusterRoleName <String>
-secretName <String>
[-secretNamespace <String>]
[-serviceAccount <String>]
[-overwrite][-activity <String>]
Adds a credentials spec for gMSA deployments on a cluster.
Add-AksHciGMSACredentialSpec -Name mycluster -CredFilePath .\credspectest.json -CredSpecName credspec-mynewcluster -secretName mysecret -clusterRoleName clusterrole-mynewcluster
The alphanumeric name of your Kubernetes cluster.
Type: System.String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
File Path of the JSON cred spec file.
Type: System.String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Name of the Kubernetes credential spec object the user would like to designate.
Type: System.String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Name of the Kubernetes cluster role assigned to use the Kubernetes gMSA credspec object.
Type: System.String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Name of the Kubernetes secret object storing the Active Directory user credentials and gMSA domain.
Type: System.String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Namespace where the Kubernetes secret object resides in.
Type: System.String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: Default
Accept pipeline input: False
Accept wildcard characters: False
Name of the Kubernetes service account assigned to read the k8s gMSA credspec object.
Type: System.String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: Default
Accept pipeline input: False
Accept wildcard characters: False
Overwrites existing Cluster role and service account role binding.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The name of the activity when updating progress.
Type: System.String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False