|
4082 | 4082 | type: string |
4083 | 4083 | short-summary: Name of the identity binding to show. |
4084 | 4084 | """ |
| 4085 | + |
| 4086 | +helps['aks jwtauthenticator'] = """ |
| 4087 | + type: group |
| 4088 | + short-summary: Commands to manage JWT authenticators in Azure Kubernetes Service. |
| 4089 | + long-summary: JWT authenticators enable external JWT token validation for Kubernetes authentication. |
| 4090 | + For more information, see https://aka.ms/aks-external-issuers-docs. |
| 4091 | +""" |
| 4092 | + |
| 4093 | +helps['aks jwtauthenticator add'] = """ |
| 4094 | + type: command |
| 4095 | + short-summary: Add a JWT authenticator to a managed cluster. |
| 4096 | + long-summary: Adds a new JWT authenticator configuration to the managed cluster for external JWT validation. |
| 4097 | + The configuration will be applied to the kube-apiserver to enable JWT token authentication. |
| 4098 | + parameters: |
| 4099 | + - name: --cluster-name |
| 4100 | + type: string |
| 4101 | + short-summary: Name of the managed cluster. |
| 4102 | + - name: --name -n |
| 4103 | + type: string |
| 4104 | + short-summary: Name of the JWT authenticator (must be unique within the cluster). |
| 4105 | + - name: --config-file |
| 4106 | + type: string |
| 4107 | + short-summary: Path to JSON file containing the JWT authenticator configuration. |
| 4108 | + long-summary: The JSON file should contain the properties schema for one JWT authenticator. |
| 4109 | + For details on how to configure the properties of a JWT authenticator, please refer to the Kubernetes documentation |
| 4110 | + at https://kubernetes.io/docs/reference/access-authn-authz/authentication/#using-authentication-configuration. |
| 4111 | + Please note that not all fields available in the Kubernetes documentation are supported by AKS. |
| 4112 | + For troubleshooting, please see https://aka.ms/aks-external-issuers-docs. |
| 4113 | + - name: --aks-custom-headers |
| 4114 | + type: string |
| 4115 | + short-summary: Send custom headers. When specified, format should be Key1=Value1,Key2=Value2 |
| 4116 | + examples: |
| 4117 | + - name: Add a JWT authenticator from a configuration file |
| 4118 | + text: az aks jwtauthenticator add -g MyResourceGroup --cluster-name MyCluster --name myjwt --config-file config.json |
| 4119 | +""" |
| 4120 | + |
| 4121 | +helps['aks jwtauthenticator update'] = """ |
| 4122 | + type: command |
| 4123 | + short-summary: Update a JWT authenticator in a managed cluster. |
| 4124 | + long-summary: Updates an existing JWT authenticator configuration. The entire configuration will be replaced |
| 4125 | + with the configuration from the provided file. |
| 4126 | + parameters: |
| 4127 | + - name: --cluster-name |
| 4128 | + type: string |
| 4129 | + short-summary: Name of the managed cluster. |
| 4130 | + - name: --name -n |
| 4131 | + type: string |
| 4132 | + short-summary: Name of the JWT authenticator to update. |
| 4133 | + - name: --config-file |
| 4134 | + type: string |
| 4135 | + short-summary: Path to JSON file containing the updated JWT authenticator configuration. |
| 4136 | + long-summary: The JSON file should contain the properties schema for one JWT authenticator. |
| 4137 | + For details on how to configure the properties of a JWT authenticator, please refer to the Kubernetes documentation |
| 4138 | + at https://kubernetes.io/docs/reference/access-authn-authz/authentication/#using-authentication-configuration. |
| 4139 | + Please note that not all fields available in the Kubernetes documentation are supported by AKS. |
| 4140 | + For troubleshooting, please see https://aka.ms/aks-external-issuers-docs. |
| 4141 | + - name: --aks-custom-headers |
| 4142 | + type: string |
| 4143 | + short-summary: Send custom headers. When specified, format should be Key1=Value1 |
| 4144 | + examples: |
| 4145 | + - name: Update a JWT authenticator configuration |
| 4146 | + text: az aks jwtauthenticator update -g MyResourceGroup --cluster-name MyCluster --name myjwt --config-file updated-config.json |
| 4147 | +""" |
| 4148 | + |
| 4149 | +helps['aks jwtauthenticator delete'] = """ |
| 4150 | + type: command |
| 4151 | + short-summary: Delete a JWT authenticator from a managed cluster. |
| 4152 | + long-summary: Removes the JWT authenticator configuration from the managed cluster and updates the kube-apiserver. |
| 4153 | + parameters: |
| 4154 | + - name: --cluster-name |
| 4155 | + type: string |
| 4156 | + short-summary: Name of the managed cluster. |
| 4157 | + - name: --name -n |
| 4158 | + type: string |
| 4159 | + short-summary: Name of the JWT authenticator to delete. |
| 4160 | + examples: |
| 4161 | + - name: Delete a JWT authenticator |
| 4162 | + text: az aks jwtauthenticator delete -g MyResourceGroup --cluster-name MyCluster --name myjwt |
| 4163 | +""" |
| 4164 | + |
| 4165 | +helps['aks jwtauthenticator list'] = """ |
| 4166 | + type: command |
| 4167 | + short-summary: List all JWT authenticators in a managed cluster. |
| 4168 | + parameters: |
| 4169 | + - name: --cluster-name |
| 4170 | + type: string |
| 4171 | + short-summary: Name of the managed cluster. |
| 4172 | + examples: |
| 4173 | + - name: List all JWT authenticators in a cluster |
| 4174 | + text: az aks jwtauthenticator list -g MyResourceGroup --cluster-name MyCluster |
| 4175 | +""" |
| 4176 | + |
| 4177 | +helps['aks jwtauthenticator show'] = """ |
| 4178 | + type: command |
| 4179 | + short-summary: Show details of a JWT authenticator in a managed cluster. |
| 4180 | + parameters: |
| 4181 | + - name: --cluster-name |
| 4182 | + type: string |
| 4183 | + short-summary: Name of the managed cluster. |
| 4184 | + - name: --name -n |
| 4185 | + type: string |
| 4186 | + short-summary: Name of the JWT authenticator to show. |
| 4187 | + examples: |
| 4188 | + - name: Show a specific JWT authenticator configuration |
| 4189 | + text: az aks jwtauthenticator show -g MyResourceGroup --cluster-name MyCluster --name myjwt |
| 4190 | +""" |
0 commit comments