You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/stackit_config_set.md
+18-18Lines changed: 18 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ Sets CLI configuration options
5
5
### Synopsis
6
6
7
7
Sets CLI configuration options.
8
-
All of the configuration options can be set using an environment variable, which takes precedence over what is configured.
8
+
All of the configuration options can be set using an environment variable, which takes precedence over what is configured using this command.
9
9
The environment variable is the name of the flag, with underscores ("_") instead of dashes ("-") and the "STACKIT" prefix.
10
10
Example: to set the project ID you can set the environment variable STACKIT_PROJECT_ID.
11
11
@@ -16,33 +16,33 @@ stackit config set [flags]
16
16
### Examples
17
17
18
18
```
19
-
Set a project ID in your active configuration. This project ID will be used by every command, as long as it's not overridden by the "STACKIT_PROJECT_ID" environment variable or the command flag
19
+
Set a project ID in your active configuration. This project ID will be used by every command (unless overridden by the "STACKIT_PROJECT_ID" environment variable)
20
20
$ stackit config set --project-id xxx
21
21
22
-
Set the session time limit to 1 hour. After this time you will be prompted to login again to be able to execute commands that need authentication
22
+
Set the session time limit to 1 hour
23
23
$ stackit config set --session-time-limit 1h
24
24
25
-
Set the DNS custom endpoint. This endpoint will be used on all calls to the DNS API, unless overridden by the "STACKIT_DNS_CUSTOM_ENDPOINT" environment variable
25
+
Set the DNS custom endpoint. This endpoint will be used on all calls to the DNS API (unless overridden by the "STACKIT_DNS_CUSTOM_ENDPOINT" environment variable)
26
26
$ stackit config set --dns-custom-endpoint https://dns.stackit.cloud
--service-account-custom-endpoint string Service Account custom endpoint
44
-
--session-time-limit string Maximum time before authentication is required again. Can't be larger than 24h. Examples: 3h, 5h30m40s (BETA: currently values greater than 2h have no effect)
45
-
--ske-custom-endpoint string SKE custom endpoint
35
+
--logme-custom-endpoint string LogMe API base URL, used in calls to this API
36
+
--mariadb-custom-endpoint string MariaDB API base URL, used in calls to this API
37
+
--mongodbflex-custom-endpoint string MongoDB Flex API base URL, used in calls to this API
38
+
--opensearch-custom-endpoint string OpenSearch API base URL, used in calls to this API
39
+
--postgresflex-custom-endpoint string PostgreSQL Flex API base URL, used in calls to this API
40
+
--rabbitmq-custom-endpoint string RabbitMQ API base URL, used in calls to this API
41
+
--redis-custom-endpoint string Redis API base URL, used in calls to this API
42
+
--resource-manager-custom-endpoint string Resource Manager API base URL, used in calls to this API
43
+
--service-account-custom-endpoint string Service Account API base URL, used in calls to this API
44
+
--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)
45
+
--ske-custom-endpoint string SKE API base URL, used in calls to this API
"All of the configuration options can be set using an environment variable, which takes precedence over what is configured.",
47
+
"All of the configuration options can be set using an environment variable, which takes precedence over what is configured using this command.",
48
48
`The environment variable is the name of the flag, with underscores ("_") instead of dashes ("-") and the "STACKIT" prefix.`,
49
49
"Example: to set the project ID you can set the environment variable STACKIT_PROJECT_ID.",
50
50
),
51
51
Args: args.NoArgs,
52
52
Example: examples.Build(
53
53
examples.NewExample(
54
-
`Set a project ID in your active configuration. This project ID will be used by every command, as long as it's not overridden by the "STACKIT_PROJECT_ID" environment variable or the command flag`,
54
+
`Set a project ID in your active configuration. This project ID will be used by every command (unless overridden by the "STACKIT_PROJECT_ID" environment variable)`,
55
55
"$ stackit config set --project-id xxx"),
56
56
examples.NewExample(
57
-
`Set the session time limit to 1 hour. After this time you will be prompted to login again to be able to execute commands that need authentication`,
57
+
`Set the session time limit to 1 hour`,
58
58
"$ stackit config set --session-time-limit 1h"),
59
59
examples.NewExample(
60
-
`Set the DNS custom endpoint. This endpoint will be used on all calls to the DNS API, unless overridden by the "STACKIT_DNS_CUSTOM_ENDPOINT" environment variable`,
60
+
`Set the DNS custom endpoint. This endpoint will be used on all calls to the DNS API (unless overridden by the "STACKIT_DNS_CUSTOM_ENDPOINT" environment variable)`,
61
61
"$ stackit config set --dns-custom-endpoint https://dns.stackit.cloud"),
cmd.Flags().String(sessionTimeLimitFlag, "", "Maximum time before authentication is required again. Can't be larger than 24h. Examples: 3h, 5h30m40s (BETA: currently values greater than 2h have no effect)")
cmd.Flags().String(sessionTimeLimitFlag, "", "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)")
92
+
93
+
cmd.Flags().String(authorizationCustomEndpointFlag, "", "Authorization API base URL, used in calls to this API")
94
+
cmd.Flags().String(dnsCustomEndpointFlag, "", "DNS API base URL, used in calls to this API")
95
+
cmd.Flags().String(logMeCustomEndpointFlag, "", "LogMe API base URL, used in calls to this API")
96
+
cmd.Flags().String(mariaDBCustomEndpointFlag, "", "MariaDB API base URL, used in calls to this API")
97
+
cmd.Flags().String(mongoDBFlexCustomEndpointFlag, "", "MongoDB Flex API base URL, used in calls to this API")
98
+
cmd.Flags().String(openSearchCustomEndpointFlag, "", "OpenSearch API base URL, used in calls to this API")
99
+
cmd.Flags().String(postgresFlexCustomEndpointFlag, "", "PostgreSQL Flex API base URL, used in calls to this API")
100
+
cmd.Flags().String(rabbitMQCustomEndpointFlag, "", "RabbitMQ API base URL, used in calls to this API")
101
+
cmd.Flags().String(redisCustomEndpointFlag, "", "Redis API base URL, used in calls to this API")
102
+
cmd.Flags().String(resourceManagerCustomEndpointFlag, "", "Resource Manager API base URL, used in calls to this API")
103
+
cmd.Flags().String(serviceAccountCustomEndpointFlag, "", "Service Account API base URL, used in calls to this API")
104
+
cmd.Flags().String(skeCustomEndpointFlag, "", "SKE API base URL, used in calls to this API")
0 commit comments