forked from scaleway/scaleway-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest-all-usage-config-set-usage.golden
More file actions
39 lines (32 loc) · 1.62 KB
/
test-all-usage-config-set-usage.golden
File metadata and controls
39 lines (32 loc) · 1.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
This commands overwrites the configuration file parameters with user input.
The only allowed attributes are access_key, secret_key, default_organization_id, default_region, default_zone, api_url, insecure
USAGE:
scw config set [arg=value ...]
EXAMPLES:
Update the default organization ID
scw config set default_organization_id=12903058-d0e8-4366-89c3-6e666abe1f6f
Update the default region of the profile 'prod'
scw -p prod config set default_region=nl-ams
ARGS:
[access-key] A Scaleway access key
[secret-key] A Scaleway secret key
[api-url] Scaleway API URL
[insecure] Set to true to allow insecure HTTPS connections
[default-organization-id] A default Scaleway organization id
[default-project-id] A default Scaleway project id
[default-region] A default Scaleway region (fr-par | nl-ams | pl-waw | it-mil)
[default-zone] A default Scaleway zone (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3 | it-mil-1)
[send-telemetry] Set to false to disable telemetry
FLAGS:
-h, --help help for set
--list-sub-commands List all subcommands
GLOBAL FLAGS:
-c, --config string The path to the config file
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
SEE ALSO:
# Config management help
scw config