brightbox-cli 2.1.2 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (132) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +21 -0
  3. data/Gemfile.lock +7 -6
  4. data/brightbox-cli.gemspec +2 -1
  5. data/lib/brightbox-cli/config/clients.rb +1 -1
  6. data/lib/brightbox-cli/gli_global_hooks.rb +3 -1
  7. data/lib/brightbox-cli/images.rb +1 -1
  8. data/lib/brightbox-cli/version.rb +1 -1
  9. data/lib/brightbox_cli.rb +1 -1
  10. data/spec/cassettes/Brightbox_Account/_all/when_connected_using_an_application/returns_a_collection_of_Accounts.yml +3 -3
  11. data/spec/cassettes/Brightbox_Account/_all/when_connected_using_an_application/returns_resources_on_the_same_connection.yml +1 -1
  12. data/spec/cassettes/Brightbox_Account/_all/when_connected_using_an_client/returns_a_collection_of_Accounts.yml +2 -2
  13. data/spec/cassettes/Brightbox_Account/_all/when_connected_using_an_client/returns_resources_on_the_same_connection.yml +1 -1
  14. data/spec/cassettes/Brightbox_BBConfig/_add_section/when_first_and_only_client/saves_changes_to_the_config_file.yml +1 -1
  15. data/spec/cassettes/Brightbox_BBConfig/_add_section/when_first_and_only_client/saves_the_default_account.yml +1 -1
  16. data/spec/cassettes/Brightbox_BBConfig/_add_section/when_first_and_only_client/saves_the_new_client_as_the_default.yml +1 -1
  17. data/spec/cassettes/Brightbox_BBConfig/_find_or_set_default_account/when_client_is_not_authenticated/does_not_raise_an_error.yml +5 -5
  18. data/spec/cassettes/Brightbox_BBConfig/_find_or_set_default_account/when_client_may_access_one_account/updates_the_setting.yml +5 -5
  19. data/spec/cassettes/Brightbox_BBConfig/_renew_tokens/when_config_in_use_is_not_the_default/uses_correct_credentials.yml +1 -1
  20. data/spec/cassettes/Brightbox_BBConfig/_renew_tokens/when_using_a_user_app_with_a_cached_refresh_token/caches_the_new_tokens.yml +1 -1
  21. data/spec/cassettes/Brightbox_BBConfig/_renew_tokens/when_using_a_user_app_with_an_expired_refresh_token/caches_the_new_tokens.yml +2 -2
  22. data/spec/cassettes/Brightbox_BBConfig/_renew_tokens/when_using_a_user_app_with_no_tokens/caches_the_new_tokens.yml +1 -1
  23. data/spec/cassettes/Brightbox_BBConfig/_renew_tokens/when_using_a_user_app_with_no_tokens/prompts_user_to_retry_command.yml +1 -1
  24. data/spec/cassettes/Brightbox_BBConfig/_renew_tokens/when_using_an_API_client_with_no_tokens/caches_a_new_access_token.yml +1 -1
  25. data/spec/cassettes/Brightbox_CloudIP/_find_all_/when_a_Cloud_IP_exists/returns_a_suitable.yml +7 -7
  26. data/spec/cassettes/Brightbox_FirewallPolicy/_apply_to/should_apply_firewall_policy.yml +6 -6
  27. data/spec/cassettes/Brightbox_FirewallPolicy/_create/should_create_firewall_policy.yml +6 -6
  28. data/spec/cassettes/Brightbox_FirewallPolicy/_destroy/should_destroy_firewall_policy.yml +7 -7
  29. data/spec/cassettes/Brightbox_FirewallPolicy/_find_all_/when_a_policy_exists/should_list_firewall_policy.yml +6 -6
  30. data/spec/cassettes/Brightbox_FirewallPolicy/_find_or_call/when_a_policy_exists/should_show_firewall_policy.yml +5 -5
  31. data/spec/cassettes/Brightbox_FirewallRule/_create/when_policy_exists/creates_the_rule_successfully.yml +6 -6
  32. data/spec/cassettes/Brightbox_FirewallRule/_destroy/when_rule_exists/destroys_a_rule.yml +5 -5
  33. data/spec/cassettes/Brightbox_FirewallRule/_find/when_rule_exists/can_display_the_result.yml +6 -6
  34. data/spec/cassettes/Brightbox_FirewallRule/_from_policy/when_policy_exists_with_a_rule/lists_all_rules.yml +8 -8
  35. data/spec/cassettes/Brightbox_Server/_destroy/when_server_exists/should_work.yml +5 -5
  36. data/spec/cassettes/Brightbox_Server/_find_all_/when_a_server_exists/should_print_server_list.yml +7 -7
  37. data/spec/cassettes/Brightbox_Server/_show/when_server_exists/shows_detailed_attributes_of_a_server.yml +8 -8
  38. data/spec/cassettes/Brightbox_Server/_shutdown/should_work.yml +8 -8
  39. data/spec/cassettes/Brightbox_Server/_start/should_work.yml +11 -11
  40. data/spec/cassettes/Brightbox_Server/_stop/should_work.yml +8 -8
  41. data/spec/cassettes/Brightbox_Server/_update/when_passing_new_group_membership/should_update_with_group.yml +10 -10
  42. data/spec/cassettes/Brightbox_ServerGroup/_find_all_/when_a_group_exists/list_server_groups.yml +6 -6
  43. data/spec/cassettes/Firewall_policies/update/when_the_policy_does_not_exist/prints_error_to_STDERR.yml +1 -1
  44. data/spec/cassettes/brightbox_accounts/list/_when_access_token_expired_/does_not_report_invalid_token_errors.yml +7 -7
  45. data/spec/cassettes/brightbox_accounts/list/_when_both_tokens_expired_/does_not_report_invalid_token_errors.yml +7 -7
  46. data/spec/cassettes/brightbox_accounts/list/_when_invalid_tokens_/does_not_report_invalid_token_errors.yml +7 -7
  47. data/spec/cassettes/brightbox_accounts/list/_when_no_tokens_/does_not_report_invalid_token_errors.yml +6 -6
  48. data/spec/cassettes/brightbox_accounts/list/_when_no_tokens_/reports_they_were_updated.yml +5 -5
  49. data/spec/cassettes/brightbox_accounts/list/_when_no_tokens_and_password_incorrect_/does_not_report_invalid_token_errors.yml +5 -5
  50. data/spec/cassettes/brightbox_accounts/list/_when_no_tokens_and_password_incorrect_/reports_unable_to_authenticate.yml +4 -4
  51. data/spec/cassettes/brightbox_accounts/list/does_not_error.yml +2 -2
  52. data/spec/cassettes/brightbox_cloudips/map/when_destination_is_a_server_ID/passes_the_interface_identifier_to_the_API.yml +6 -6
  53. data/spec/cassettes/brightbox_cloudips/map/when_destination_is_another_value/passes_the_identifier_to_the_API.yml +3 -3
  54. data/spec/cassettes/brightbox_config/client_add/when_adding_a_new_client/does_not_error.yml +4 -4
  55. data/spec/cassettes/brightbox_config/client_add/when_adding_a_new_client/sets_up_the_config.yml +4 -4
  56. data/spec/cassettes/brightbox_config/client_add/when_new_client_is_first_and_only_client/does_not_change_the_default_client.yml +4 -4
  57. data/spec/cassettes/brightbox_config/client_add/when_new_client_is_first_and_only_client/does_not_error.yml +4 -4
  58. data/spec/cassettes/brightbox_config/client_add/when_new_client_is_first_and_only_client/sets_this_as_the_default_client.yml +4 -4
  59. data/spec/cassettes/brightbox_config/client_add/when_new_client_is_first_and_only_client/sets_up_the_config.yml +4 -4
  60. data/spec/cassettes/brightbox_config/user_add/when_NO_config_file_on_disk/sets_up_the_config.yml +3 -3
  61. data/spec/cassettes/brightbox_config/user_add/when_a_default_client_is_already_set/does_not_change_the_default_client.yml +1 -1
  62. data/spec/cassettes/brightbox_config/user_add/when_application_details_in_config/does_not_error.yml +1 -1
  63. data/spec/cassettes/brightbox_config/user_add/when_application_details_in_config/sets_up_the_config.yml +1 -1
  64. data/spec/cassettes/brightbox_config/user_add/when_application_has_access_only_one_active_account/display_an_warning_about_preselected_default.yml +1 -1
  65. data/spec/cassettes/brightbox_config/user_add/when_application_has_access_only_one_active_account/does_not_error.yml +1 -1
  66. data/spec/cassettes/brightbox_config/user_add/when_application_has_access_only_one_active_account/selects_the_active_account_for_the_default.yml +1 -1
  67. data/spec/cassettes/brightbox_config/user_add/when_application_has_access_only_one_active_account/sets_up_the_config.yml +1 -1
  68. data/spec/cassettes/brightbox_config/user_add/when_application_has_access_to_multiple_accounts/display_an_warning_about_preselected_default.yml +1 -1
  69. data/spec/cassettes/brightbox_config/user_add/when_application_has_access_to_multiple_accounts/does_not_error.yml +1 -1
  70. data/spec/cassettes/brightbox_config/user_add/when_application_has_access_to_multiple_accounts/sets_up_the_config.yml +1 -1
  71. data/spec/cassettes/brightbox_config/user_add/when_new_client_is_first_and_only_client/does_not_error.yml +1 -1
  72. data/spec/cassettes/brightbox_config/user_add/when_new_client_is_first_and_only_client/does_not_prompt_to_rerun_the_command.yml +1 -1
  73. data/spec/cassettes/brightbox_config/user_add/when_new_client_is_first_and_only_client/requests_access_tokens.yml +1 -1
  74. data/spec/cassettes/brightbox_config/user_add/when_new_client_is_first_and_only_client/sets_this_as_the_default_client.yml +1 -1
  75. data/spec/cassettes/brightbox_config/user_add/when_new_client_is_first_and_only_client/sets_up_the_config.yml +3 -3
  76. data/spec/cassettes/brightbox_config/user_add/when_passing_in_required_arguments/does_not_error.yml +1 -1
  77. data/spec/cassettes/brightbox_config/user_add/when_passing_in_required_arguments/does_not_prompt_to_rerun_the_command.yml +1 -1
  78. data/spec/cassettes/brightbox_config/user_add/when_passing_in_required_arguments/requests_access_tokens.yml +1 -1
  79. data/spec/cassettes/brightbox_config/user_add/when_passing_in_required_arguments/sets_up_the_config.yml +2 -2
  80. data/spec/cassettes/brightbox_config/user_add/when_passing_in_required_arguments_and_api_url/does_not_error.yml +1 -1
  81. data/spec/cassettes/brightbox_config/user_add/when_passing_in_required_arguments_and_api_url/requests_access_tokens.yml +1 -1
  82. data/spec/cassettes/brightbox_config/user_add/when_passing_in_required_arguments_and_api_url/sets_up_the_config.yml +1 -1
  83. data/spec/cassettes/brightbox_database-servers/create/--allow-access_10_0_0_0/correctly_sends_API_parameters.yml +1 -1
  84. data/spec/cassettes/brightbox_database-servers/create/--allow-access_srv-12345_grp-12345/correctly_sends_API_parameters.yml +1 -1
  85. data/spec/cassettes/brightbox_database-servers/create/--engine_mysql/correctly_sends_API_parameters.yml +1 -1
  86. data/spec/cassettes/brightbox_database-servers/create/--engine_mysql_--engine-version_5_6/correctly_sends_API_parameters.yml +1 -1
  87. data/spec/cassettes/brightbox_database-servers/create/without_arguments/reports_the_new_admin_password.yml +1 -1
  88. data/spec/cassettes/brightbox_database-servers/create/without_arguments/reports_the_new_admin_username.yml +1 -1
  89. data/spec/cassettes/brightbox_database-servers/snapshot/when_database_server_active/correctly_sends_API_parameters.yml +2 -2
  90. data/spec/cassettes/brightbox_database-servers/snapshot/when_database_server_can_not_be_snapshotted/reports_an_error_to_the_user.yml +1 -1
  91. data/spec/cassettes/brightbox_database-snapshots/list/when_resources_are_available/does_not_output_to_stderr.yml +1 -1
  92. data/spec/cassettes/brightbox_database-snapshots/list/when_resources_are_available/outputs_table_details_to_stdout.yml +1 -1
  93. data/spec/cassettes/brightbox_database-snapshots/show/when_resource_exists/does_not_output_to_stderr.yml +1 -1
  94. data/spec/commands/accounts/list_spec.rb +6 -6
  95. data/spec/commands/cloudips/map_spec.rb +2 -2
  96. data/spec/commands/config/client_add_spec.rb +3 -3
  97. data/spec/commands/config/user_add_spec.rb +8 -8
  98. data/spec/commands/firewall_policies/update_spec.rb +5 -5
  99. data/spec/commands/sql/instances/create_spec.rb +5 -5
  100. data/spec/commands/sql/instances/snapshot_spec.rb +2 -2
  101. data/spec/commands/sql/snapshots/list_spec.rb +1 -1
  102. data/spec/commands/sql/snapshots/show_spec.rb +1 -1
  103. data/spec/spec_helper.rb +1 -4
  104. data/spec/support/vcr.rb +0 -4
  105. data/spec/unit/brightbox/account/all_spec.rb +2 -2
  106. data/spec/unit/brightbox/account/get_spec.rb +5 -5
  107. data/spec/unit/brightbox/api/conn_spec.rb +1 -1
  108. data/spec/unit/brightbox/bb_config/add_section_spec.rb +1 -1
  109. data/spec/unit/brightbox/bb_config/find_or_set_default_account_spec.rb +3 -3
  110. data/spec/unit/brightbox/bb_config/renew_tokens_spec.rb +5 -5
  111. data/spec/unit/brightbox/cloud_ip/find_spec.rb +1 -1
  112. data/spec/unit/brightbox/config/api_client/to_fog_spec.rb +3 -3
  113. data/spec/unit/brightbox/config/user_application/to_fog_spec.rb +4 -4
  114. data/spec/unit/brightbox/firewall_policy/apply_to_spec.rb +1 -1
  115. data/spec/unit/brightbox/firewall_policy/create_spec.rb +1 -1
  116. data/spec/unit/brightbox/firewall_policy/destroy_spec.rb +1 -1
  117. data/spec/unit/brightbox/firewall_policy/find_or_call_spec.rb +1 -1
  118. data/spec/unit/brightbox/firewall_policy/find_spec.rb +2 -2
  119. data/spec/unit/brightbox/firewall_rule/create_spec.rb +1 -1
  120. data/spec/unit/brightbox/firewall_rule/destroy_spec.rb +1 -1
  121. data/spec/unit/brightbox/firewall_rule/find_spec.rb +1 -1
  122. data/spec/unit/brightbox/firewall_rule/from_policy_spec.rb +1 -1
  123. data/spec/unit/brightbox/server/destroy_spec.rb +1 -1
  124. data/spec/unit/brightbox/server/find_or_call_spec.rb +1 -1
  125. data/spec/unit/brightbox/server/find_spec.rb +1 -1
  126. data/spec/unit/brightbox/server/shutdown_spec.rb +1 -1
  127. data/spec/unit/brightbox/server/start_spec.rb +1 -1
  128. data/spec/unit/brightbox/server/stop_spec.rb +1 -1
  129. data/spec/unit/brightbox/server/update_spec.rb +1 -1
  130. data/spec/unit/brightbox/server_group/find_spec.rb +1 -1
  131. data/spec/unit/brightbox/user_collaboration/get_for_account_spec.rb +4 -4
  132. metadata +19 -5
@@ -129,7 +129,7 @@ http_interactions:
129
129
  uri: http://api.brightbox.dev/token
130
130
  body:
131
131
  encoding: UTF-8
132
- string: '{"grant_type":"none","client_id":"app-12345"}'
132
+ string: '{"grant_type":"client_credentials"}'
133
133
  headers:
134
134
  User-Agent:
135
135
  - fog/1.15.0
@@ -173,7 +173,7 @@ http_interactions:
173
173
  uri: http://api.brightbox.dev/token
174
174
  body:
175
175
  encoding: UTF-8
176
- string: '{"grant_type":"none","client_id":"app-12345"}'
176
+ string: '{"grant_type":"client_credentials"}'
177
177
  headers:
178
178
  User-Agent:
179
179
  - fog/1.15.0
@@ -217,7 +217,7 @@ http_interactions:
217
217
  uri: http://api.brightbox.dev/token
218
218
  body:
219
219
  encoding: UTF-8
220
- string: '{"grant_type":"none","client_id":"app-12345"}'
220
+ string: '{"grant_type":"client_credentials"}'
221
221
  headers:
222
222
  User-Agent:
223
223
  - fog/1.15.0
@@ -261,7 +261,7 @@ http_interactions:
261
261
  uri: http://api.brightbox.dev/token
262
262
  body:
263
263
  encoding: UTF-8
264
- string: '{"grant_type":"none","client_id":"cli-12345"}'
264
+ string: '{"grant_type":"client_credentials"}'
265
265
  headers:
266
266
  User-Agent:
267
267
  - fog/1.15.0
@@ -346,7 +346,7 @@ http_interactions:
346
346
  uri: http://api.brightbox.dev/token
347
347
  body:
348
348
  encoding: UTF-8
349
- string: '{"grant_type":"none","client_id":"cli-12345"}'
349
+ string: '{"grant_type":"client_credentials"}'
350
350
  headers:
351
351
  User-Agent:
352
352
  - fog/1.15.0
@@ -218,7 +218,7 @@ http_interactions:
218
218
  uri: http://api.brightbox.dev/token
219
219
  body:
220
220
  encoding: UTF-8
221
- string: '{"grant_type":"none","client_id":"app-12345"}'
221
+ string: '{"grant_type":"client_credentials"}'
222
222
  headers:
223
223
  User-Agent:
224
224
  - fog/1.15.0
@@ -262,7 +262,7 @@ http_interactions:
262
262
  uri: http://api.brightbox.dev/token
263
263
  body:
264
264
  encoding: UTF-8
265
- string: '{"grant_type":"none","client_id":"app-12345"}'
265
+ string: '{"grant_type":"client_credentials"}'
266
266
  headers:
267
267
  User-Agent:
268
268
  - fog/1.15.0
@@ -306,7 +306,7 @@ http_interactions:
306
306
  uri: http://api.brightbox.dev/token
307
307
  body:
308
308
  encoding: UTF-8
309
- string: '{"grant_type":"none","client_id":"app-12345"}'
309
+ string: '{"grant_type":"client_credentials"}'
310
310
  headers:
311
311
  User-Agent:
312
312
  - fog/1.15.0
@@ -350,7 +350,7 @@ http_interactions:
350
350
  uri: http://api.brightbox.dev/token
351
351
  body:
352
352
  encoding: UTF-8
353
- string: '{"grant_type":"none","client_id":"app-12345"}'
353
+ string: '{"grant_type":"client_credentials"}'
354
354
  headers:
355
355
  User-Agent:
356
356
  - fog/1.15.0
@@ -394,7 +394,7 @@ http_interactions:
394
394
  uri: http://api.brightbox.dev/token
395
395
  body:
396
396
  encoding: UTF-8
397
- string: '{"grant_type":"none","client_id":"app-12345"}'
397
+ string: '{"grant_type":"client_credentials"}'
398
398
  headers:
399
399
  User-Agent:
400
400
  - fog/1.15.0
@@ -438,7 +438,7 @@ http_interactions:
438
438
  uri: http://api.brightbox.dev/token
439
439
  body:
440
440
  encoding: UTF-8
441
- string: '{"grant_type":"none","client_id":"cli-12345"}'
441
+ string: '{"grant_type":"client_credentials"}'
442
442
  headers:
443
443
  User-Agent:
444
444
  - fog/1.15.0
@@ -523,7 +523,7 @@ http_interactions:
523
523
  uri: http://api.brightbox.dev/token
524
524
  body:
525
525
  encoding: UTF-8
526
- string: '{"grant_type":"none","client_id":"cli-12345"}'
526
+ string: '{"grant_type":"client_credentials"}'
527
527
  headers:
528
528
  User-Agent:
529
529
  - fog/1.15.0
@@ -249,7 +249,7 @@ http_interactions:
249
249
  uri: http://api.brightbox.dev/token
250
250
  body:
251
251
  encoding: UTF-8
252
- string: '{"grant_type":"none","client_id":"cli-12345"}'
252
+ string: '{"grant_type":"client_credentials"}'
253
253
  headers:
254
254
  User-Agent:
255
255
  - fog/1.15.0
@@ -294,7 +294,7 @@ http_interactions:
294
294
  uri: http://api.brightbox.dev/token
295
295
  body:
296
296
  encoding: UTF-8
297
- string: '{"grant_type":"none","client_id":"app-12345"}'
297
+ string: '{"grant_type":"client_credentials"}'
298
298
  headers:
299
299
  User-Agent:
300
300
  - fog/1.15.0
@@ -338,7 +338,7 @@ http_interactions:
338
338
  uri: http://api.brightbox.dev/token
339
339
  body:
340
340
  encoding: UTF-8
341
- string: '{"grant_type":"none","client_id":"app-12345"}'
341
+ string: '{"grant_type":"client_credentials"}'
342
342
  headers:
343
343
  User-Agent:
344
344
  - fog/1.15.0
@@ -382,7 +382,7 @@ http_interactions:
382
382
  uri: http://api.brightbox.dev/token
383
383
  body:
384
384
  encoding: UTF-8
385
- string: '{"grant_type":"none","client_id":"app-12345"}'
385
+ string: '{"grant_type":"client_credentials"}'
386
386
  headers:
387
387
  User-Agent:
388
388
  - fog/1.15.0
@@ -426,7 +426,7 @@ http_interactions:
426
426
  uri: http://api.brightbox.dev/token
427
427
  body:
428
428
  encoding: UTF-8
429
- string: '{"grant_type":"none","client_id":"app-12345"}'
429
+ string: '{"grant_type":"client_credentials"}'
430
430
  headers:
431
431
  User-Agent:
432
432
  - fog/1.15.0
@@ -470,7 +470,7 @@ http_interactions:
470
470
  uri: http://api.brightbox.dev/token
471
471
  body:
472
472
  encoding: UTF-8
473
- string: '{"grant_type":"none","client_id":"app-12345"}'
473
+ string: '{"grant_type":"client_credentials"}'
474
474
  headers:
475
475
  User-Agent:
476
476
  - fog/1.15.0
@@ -514,7 +514,7 @@ http_interactions:
514
514
  uri: http://api.brightbox.dev/token
515
515
  body:
516
516
  encoding: UTF-8
517
- string: '{"grant_type":"none","client_id":"app-12345"}'
517
+ string: '{"grant_type":"client_credentials"}'
518
518
  headers:
519
519
  User-Agent:
520
520
  - fog/1.15.0
@@ -598,7 +598,7 @@ http_interactions:
598
598
  uri: http://api.brightbox.dev/token
599
599
  body:
600
600
  encoding: UTF-8
601
- string: '{"grant_type":"none","client_id":"cli-12345"}'
601
+ string: '{"grant_type":"client_credentials"}'
602
602
  headers:
603
603
  User-Agent:
604
604
  - fog/1.15.0
@@ -248,7 +248,7 @@ http_interactions:
248
248
  uri: http://api.brightbox.dev/token
249
249
  body:
250
250
  encoding: UTF-8
251
- string: '{"grant_type":"none","client_id":"app-12345"}'
251
+ string: '{"grant_type":"client_credentials"}'
252
252
  headers:
253
253
  User-Agent:
254
254
  - fog/1.15.0
@@ -292,7 +292,7 @@ http_interactions:
292
292
  uri: http://api.brightbox.dev/token
293
293
  body:
294
294
  encoding: UTF-8
295
- string: '{"grant_type":"none","client_id":"app-12345"}'
295
+ string: '{"grant_type":"client_credentials"}'
296
296
  headers:
297
297
  User-Agent:
298
298
  - fog/1.15.0
@@ -336,7 +336,7 @@ http_interactions:
336
336
  uri: http://api.brightbox.dev/token
337
337
  body:
338
338
  encoding: UTF-8
339
- string: '{"grant_type":"none","client_id":"app-12345"}'
339
+ string: '{"grant_type":"client_credentials"}'
340
340
  headers:
341
341
  User-Agent:
342
342
  - fog/1.15.0
@@ -380,7 +380,7 @@ http_interactions:
380
380
  uri: http://api.brightbox.dev/token
381
381
  body:
382
382
  encoding: UTF-8
383
- string: '{"grant_type":"none","client_id":"app-12345"}'
383
+ string: '{"grant_type":"client_credentials"}'
384
384
  headers:
385
385
  User-Agent:
386
386
  - fog/1.15.0
@@ -424,7 +424,7 @@ http_interactions:
424
424
  uri: http://api.brightbox.dev/token
425
425
  body:
426
426
  encoding: UTF-8
427
- string: '{"grant_type":"none","client_id":"app-12345"}'
427
+ string: '{"grant_type":"client_credentials"}'
428
428
  headers:
429
429
  User-Agent:
430
430
  - fog/1.15.0
@@ -468,7 +468,7 @@ http_interactions:
468
468
  uri: http://api.brightbox.dev/token
469
469
  body:
470
470
  encoding: UTF-8
471
- string: '{"grant_type":"none","client_id":"app-12345"}'
471
+ string: '{"grant_type":"client_credentials"}'
472
472
  headers:
473
473
  User-Agent:
474
474
  - fog/1.15.0
@@ -512,7 +512,7 @@ http_interactions:
512
512
  uri: http://api.brightbox.dev/token
513
513
  body:
514
514
  encoding: UTF-8
515
- string: '{"grant_type":"none","client_id":"cli-12345"}'
515
+ string: '{"grant_type":"client_credentials"}'
516
516
  headers:
517
517
  User-Agent:
518
518
  - fog/1.15.0
@@ -597,7 +597,7 @@ http_interactions:
597
597
  uri: http://api.brightbox.dev/token
598
598
  body:
599
599
  encoding: UTF-8
600
- string: '{"grant_type":"none","client_id":"cli-12345"}'
600
+ string: '{"grant_type":"client_credentials"}'
601
601
  headers:
602
602
  User-Agent:
603
603
  - fog/1.15.0
@@ -366,7 +366,7 @@ http_interactions:
366
366
  uri: http://api.brightbox.dev/token
367
367
  body:
368
368
  encoding: UTF-8
369
- string: '{"grant_type":"none","client_id":"app-12345"}'
369
+ string: '{"grant_type":"client_credentials"}'
370
370
  headers:
371
371
  User-Agent:
372
372
  - fog/1.15.0
@@ -410,7 +410,7 @@ http_interactions:
410
410
  uri: http://api.brightbox.dev/token
411
411
  body:
412
412
  encoding: UTF-8
413
- string: '{"grant_type":"none","client_id":"app-12345"}'
413
+ string: '{"grant_type":"client_credentials"}'
414
414
  headers:
415
415
  User-Agent:
416
416
  - fog/1.15.0
@@ -454,7 +454,7 @@ http_interactions:
454
454
  uri: http://api.brightbox.dev/token
455
455
  body:
456
456
  encoding: UTF-8
457
- string: '{"grant_type":"none","client_id":"app-12345"}'
457
+ string: '{"grant_type":"client_credentials"}'
458
458
  headers:
459
459
  User-Agent:
460
460
  - fog/1.15.0
@@ -498,7 +498,7 @@ http_interactions:
498
498
  uri: http://api.brightbox.dev/token
499
499
  body:
500
500
  encoding: UTF-8
501
- string: '{"grant_type":"none","client_id":"app-12345"}'
501
+ string: '{"grant_type":"client_credentials"}'
502
502
  headers:
503
503
  User-Agent:
504
504
  - fog/1.15.0
@@ -542,7 +542,7 @@ http_interactions:
542
542
  uri: http://api.brightbox.dev/token
543
543
  body:
544
544
  encoding: UTF-8
545
- string: '{"grant_type":"none","client_id":"app-12345"}'
545
+ string: '{"grant_type":"client_credentials"}'
546
546
  headers:
547
547
  User-Agent:
548
548
  - fog/1.15.0
@@ -586,7 +586,7 @@ http_interactions:
586
586
  uri: http://api.brightbox.dev/token
587
587
  body:
588
588
  encoding: UTF-8
589
- string: '{"grant_type":"none","client_id":"app-12345"}'
589
+ string: '{"grant_type":"client_credentials"}'
590
590
  headers:
591
591
  User-Agent:
592
592
  - fog/1.15.0
@@ -630,7 +630,7 @@ http_interactions:
630
630
  uri: http://api.brightbox.dev/token
631
631
  body:
632
632
  encoding: UTF-8
633
- string: '{"grant_type":"none","client_id":"app-12345"}'
633
+ string: '{"grant_type":"client_credentials"}'
634
634
  headers:
635
635
  User-Agent:
636
636
  - fog/1.15.0
@@ -674,7 +674,7 @@ http_interactions:
674
674
  uri: http://api.brightbox.dev/token
675
675
  body:
676
676
  encoding: UTF-8
677
- string: '{"grant_type":"none","client_id":"app-12345"}'
677
+ string: '{"grant_type":"client_credentials"}'
678
678
  headers:
679
679
  User-Agent:
680
680
  - fog/1.15.0
@@ -718,7 +718,7 @@ http_interactions:
718
718
  uri: http://api.brightbox.dev/token
719
719
  body:
720
720
  encoding: UTF-8
721
- string: '{"grant_type":"none","client_id":"app-12345"}'
721
+ string: '{"grant_type":"client_credentials"}'
722
722
  headers:
723
723
  User-Agent:
724
724
  - fog/1.15.0
@@ -762,7 +762,7 @@ http_interactions:
762
762
  uri: http://api.brightbox.dev/token
763
763
  body:
764
764
  encoding: UTF-8
765
- string: '{"grant_type":"none","client_id":"cli-12345"}'
765
+ string: '{"grant_type":"client_credentials"}'
766
766
  headers:
767
767
  User-Agent:
768
768
  - fog/1.15.0
@@ -847,7 +847,7 @@ http_interactions:
847
847
  uri: http://api.brightbox.dev/token
848
848
  body:
849
849
  encoding: UTF-8
850
- string: '{"grant_type":"none","client_id":"cli-12345"}'
850
+ string: '{"grant_type":"client_credentials"}'
851
851
  headers:
852
852
  User-Agent:
853
853
  - fog/1.15.0
@@ -288,7 +288,7 @@ http_interactions:
288
288
  uri: http://api.brightbox.dev/token
289
289
  body:
290
290
  encoding: UTF-8
291
- string: '{"grant_type":"none","client_id":"app-12345"}'
291
+ string: '{"grant_type":"client_credentials"}'
292
292
  headers:
293
293
  User-Agent:
294
294
  - fog/1.15.0
@@ -332,7 +332,7 @@ http_interactions:
332
332
  uri: http://api.brightbox.dev/token
333
333
  body:
334
334
  encoding: UTF-8
335
- string: '{"grant_type":"none","client_id":"app-12345"}'
335
+ string: '{"grant_type":"client_credentials"}'
336
336
  headers:
337
337
  User-Agent:
338
338
  - fog/1.15.0
@@ -376,7 +376,7 @@ http_interactions:
376
376
  uri: http://api.brightbox.dev/token
377
377
  body:
378
378
  encoding: UTF-8
379
- string: '{"grant_type":"none","client_id":"app-12345"}'
379
+ string: '{"grant_type":"client_credentials"}'
380
380
  headers:
381
381
  User-Agent:
382
382
  - fog/1.15.0
@@ -420,7 +420,7 @@ http_interactions:
420
420
  uri: http://api.brightbox.dev/token
421
421
  body:
422
422
  encoding: UTF-8
423
- string: '{"grant_type":"none","client_id":"app-12345"}'
423
+ string: '{"grant_type":"client_credentials"}'
424
424
  headers:
425
425
  User-Agent:
426
426
  - fog/1.15.0
@@ -464,7 +464,7 @@ http_interactions:
464
464
  uri: http://api.brightbox.dev/token
465
465
  body:
466
466
  encoding: UTF-8
467
- string: '{"grant_type":"none","client_id":"app-12345"}'
467
+ string: '{"grant_type":"client_credentials"}'
468
468
  headers:
469
469
  User-Agent:
470
470
  - fog/1.15.0
@@ -508,7 +508,7 @@ http_interactions:
508
508
  uri: http://api.brightbox.dev/token
509
509
  body:
510
510
  encoding: UTF-8
511
- string: '{"grant_type":"none","client_id":"app-12345"}'
511
+ string: '{"grant_type":"client_credentials"}'
512
512
  headers:
513
513
  User-Agent:
514
514
  - fog/1.15.0
@@ -552,7 +552,7 @@ http_interactions:
552
552
  uri: http://api.brightbox.dev/token
553
553
  body:
554
554
  encoding: UTF-8
555
- string: '{"grant_type":"none","client_id":"app-12345"}'
555
+ string: '{"grant_type":"client_credentials"}'
556
556
  headers:
557
557
  User-Agent:
558
558
  - fog/1.15.0
@@ -596,7 +596,7 @@ http_interactions:
596
596
  uri: http://api.brightbox.dev/token
597
597
  body:
598
598
  encoding: UTF-8
599
- string: '{"grant_type":"none","client_id":"cli-12345"}'
599
+ string: '{"grant_type":"client_credentials"}'
600
600
  headers:
601
601
  User-Agent:
602
602
  - fog/1.15.0
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: http://api.brightbox.dev/token
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"grant_type":"none","client_id":"cli-12345"}'
8
+ string: '{"grant_type":"client_credentials"}'
9
9
  headers:
10
10
  User-Agent:
11
11
  - fog/1.15.0
@@ -367,7 +367,7 @@ http_interactions:
367
367
  uri: http://api.brightbox.dev/token
368
368
  body:
369
369
  encoding: UTF-8
370
- string: '{"grant_type":"none","client_id":"app-12345"}'
370
+ string: '{"grant_type":"client_credentials"}'
371
371
  headers:
372
372
  User-Agent:
373
373
  - fog/1.15.0
@@ -411,7 +411,7 @@ http_interactions:
411
411
  uri: http://api.brightbox.dev/token
412
412
  body:
413
413
  encoding: UTF-8
414
- string: '{"grant_type":"none","client_id":"app-12345"}'
414
+ string: '{"grant_type":"client_credentials"}'
415
415
  headers:
416
416
  User-Agent:
417
417
  - fog/1.15.0
@@ -455,7 +455,7 @@ http_interactions:
455
455
  uri: http://api.brightbox.dev/token
456
456
  body:
457
457
  encoding: UTF-8
458
- string: '{"grant_type":"none","client_id":"app-12345"}'
458
+ string: '{"grant_type":"client_credentials"}'
459
459
  headers:
460
460
  User-Agent:
461
461
  - fog/1.15.0
@@ -499,7 +499,7 @@ http_interactions:
499
499
  uri: http://api.brightbox.dev/token
500
500
  body:
501
501
  encoding: UTF-8
502
- string: '{"grant_type":"none","client_id":"app-12345"}'
502
+ string: '{"grant_type":"client_credentials"}'
503
503
  headers:
504
504
  User-Agent:
505
505
  - fog/1.15.0
@@ -543,7 +543,7 @@ http_interactions:
543
543
  uri: http://api.brightbox.dev/token
544
544
  body:
545
545
  encoding: UTF-8
546
- string: '{"grant_type":"none","client_id":"app-12345"}'
546
+ string: '{"grant_type":"client_credentials"}'
547
547
  headers:
548
548
  User-Agent:
549
549
  - fog/1.15.0
@@ -587,7 +587,7 @@ http_interactions:
587
587
  uri: http://api.brightbox.dev/token
588
588
  body:
589
589
  encoding: UTF-8
590
- string: '{"grant_type":"none","client_id":"app-12345"}'
590
+ string: '{"grant_type":"client_credentials"}'
591
591
  headers:
592
592
  User-Agent:
593
593
  - fog/1.15.0
@@ -631,7 +631,7 @@ http_interactions:
631
631
  uri: http://api.brightbox.dev/token
632
632
  body:
633
633
  encoding: UTF-8
634
- string: '{"grant_type":"none","client_id":"app-12345"}'
634
+ string: '{"grant_type":"client_credentials"}'
635
635
  headers:
636
636
  User-Agent:
637
637
  - fog/1.15.0
@@ -675,7 +675,7 @@ http_interactions:
675
675
  uri: http://api.brightbox.dev/token
676
676
  body:
677
677
  encoding: UTF-8
678
- string: '{"grant_type":"none","client_id":"app-12345"}'
678
+ string: '{"grant_type":"client_credentials"}'
679
679
  headers:
680
680
  User-Agent:
681
681
  - fog/1.15.0
@@ -759,7 +759,7 @@ http_interactions:
759
759
  uri: http://api.brightbox.dev/token
760
760
  body:
761
761
  encoding: UTF-8
762
- string: '{"grant_type":"none","client_id":"cli-12345"}'
762
+ string: '{"grant_type":"client_credentials"}'
763
763
  headers:
764
764
  User-Agent:
765
765
  - fog/1.15.0