Skip to content

Commit 425a9a2

Browse files
Update flag description (#477)
* Update flag description * Update docs
1 parent fd82981 commit 425a9a2

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

docs/stackit_config_set.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ stackit config set [flags]
5555
--session-time-limit string Maximum time before authentication is required again. After this time, you will be prompted to login again to execute commands that require authentication. Can't be larger than 24h. Requires authentication after being set to take effect. Examples: 3h, 5h30m40s (BETA: currently values greater than 2h have no effect)
5656
--ske-custom-endpoint string SKE API base URL, used in calls to this API
5757
--sqlserverflex-custom-endpoint string SQLServer Flex API base URL, used in calls to this API
58-
--token-custom-endpoint string Custom endpoint for the token API, which is used to request access tokens when the service-account authentication is activated
58+
--token-custom-endpoint string Custom token endpoint of the Service Account API, which is used to request access tokens when the service account authentication is activated. Not relevant for user authentication.
5959
```
6060

6161
### Options inherited from parent commands

docs/stackit_config_unset.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ stackit config unset [flags]
5555
--session-time-limit Maximum time before authentication is required again. If unset, defaults to 2h
5656
--ske-custom-endpoint SKE API base URL. If unset, uses the default base URL
5757
--sqlserverflex-custom-endpoint SQLServer Flex API base URL. If unset, uses the default base URL
58-
--token-custom-endpoint Custom endpoint for the token API, which is used to request access tokens when the service-account authentication is activated
58+
--token-custom-endpoint Custom token endpoint of the Service Account API, which is used to request access tokens when the service account authentication is activated. Not relevant for user authentication.
5959
--verbosity Verbosity of the CLI
6060
```
6161

internal/cmd/config/set/set.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ func configureFlags(cmd *cobra.Command) {
155155
cmd.Flags().String(skeCustomEndpointFlag, "", "SKE API base URL, used in calls to this API")
156156
cmd.Flags().String(sqlServerFlexCustomEndpointFlag, "", "SQLServer Flex API base URL, used in calls to this API")
157157
cmd.Flags().String(iaasCustomEndpointFlag, "", "IaaS API base URL, used in calls to this API")
158-
cmd.Flags().String(tokenCustomEndpointFlag, "", "Custom endpoint for the token API, which is used to request access tokens when the service-account authentication is activated")
158+
cmd.Flags().String(tokenCustomEndpointFlag, "", "Custom token endpoint of the Service Account API, which is used to request access tokens when the service account authentication is activated. Not relevant for user authentication.")
159159

160160
err := viper.BindPFlag(config.SessionTimeLimitKey, cmd.Flags().Lookup(sessionTimeLimitFlag))
161161
cobra.CheckErr(err)

internal/cmd/config/unset/unset.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ func configureFlags(cmd *cobra.Command) {
240240
cmd.Flags().Bool(skeCustomEndpointFlag, false, "SKE API base URL. If unset, uses the default base URL")
241241
cmd.Flags().Bool(sqlServerFlexCustomEndpointFlag, false, "SQLServer Flex API base URL. If unset, uses the default base URL")
242242
cmd.Flags().Bool(iaasCustomEndpointFlag, false, "IaaS API base URL. If unset, uses the default base URL")
243-
cmd.Flags().Bool(tokenCustomEndpointFlag, false, "Custom endpoint for the token API, which is used to request access tokens when the service-account authentication is activated")
243+
cmd.Flags().Bool(tokenCustomEndpointFlag, false, "Custom token endpoint of the Service Account API, which is used to request access tokens when the service account authentication is activated. Not relevant for user authentication.")
244244
}
245245

246246
func parseInput(p *print.Printer, cmd *cobra.Command) *inputModel {

0 commit comments

Comments
 (0)