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
@@ -204,7 +204,7 @@ http_interactions:
204
204
  uri: http://api.brightbox.dev/token
205
205
  body:
206
206
  encoding: UTF-8
207
- string: '{"grant_type":"none","client_id":"app-12345"}'
207
+ string: '{"grant_type":"client_credentials"}'
208
208
  headers:
209
209
  User-Agent:
210
210
  - 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":"cli-12345"}'
427
+ string: '{"grant_type":"client_credentials"}'
428
428
  headers:
429
429
  User-Agent:
430
430
  - fog/1.15.0
@@ -167,7 +167,7 @@ http_interactions:
167
167
  uri: http://api.brightbox.dev/token
168
168
  body:
169
169
  encoding: UTF-8
170
- string: '{"grant_type":"none","client_id":"app-12345"}'
170
+ string: '{"grant_type":"client_credentials"}'
171
171
  headers:
172
172
  User-Agent:
173
173
  - fog/1.15.0
@@ -211,7 +211,7 @@ http_interactions:
211
211
  uri: http://api.brightbox.dev/token
212
212
  body:
213
213
  encoding: UTF-8
214
- string: '{"grant_type":"none","client_id":"app-12345"}'
214
+ string: '{"grant_type":"client_credentials"}'
215
215
  headers:
216
216
  User-Agent:
217
217
  - fog/1.15.0
@@ -255,7 +255,7 @@ http_interactions:
255
255
  uri: http://api.brightbox.dev/token
256
256
  body:
257
257
  encoding: UTF-8
258
- string: '{"grant_type":"none","client_id":"app-12345"}'
258
+ string: '{"grant_type":"client_credentials"}'
259
259
  headers:
260
260
  User-Agent:
261
261
  - fog/1.15.0
@@ -299,7 +299,7 @@ http_interactions:
299
299
  uri: http://api.brightbox.dev/token
300
300
  body:
301
301
  encoding: UTF-8
302
- string: '{"grant_type":"none","client_id":"app-12345"}'
302
+ string: '{"grant_type":"client_credentials"}'
303
303
  headers:
304
304
  User-Agent:
305
305
  - fog/1.15.0
@@ -343,7 +343,7 @@ http_interactions:
343
343
  uri: http://api.brightbox.dev/token
344
344
  body:
345
345
  encoding: UTF-8
346
- string: '{"grant_type":"none","client_id":"cli-12345"}'
346
+ string: '{"grant_type":"client_credentials"}'
347
347
  headers:
348
348
  User-Agent:
349
349
  - fog/1.15.0
@@ -428,7 +428,7 @@ http_interactions:
428
428
  uri: http://api.brightbox.dev/token
429
429
  body:
430
430
  encoding: UTF-8
431
- string: '{"grant_type":"none","client_id":"cli-12345"}'
431
+ string: '{"grant_type":"client_credentials"}'
432
432
  headers:
433
433
  User-Agent:
434
434
  - fog/1.15.0
@@ -204,7 +204,7 @@ http_interactions:
204
204
  uri: http://api.brightbox.dev/token
205
205
  body:
206
206
  encoding: UTF-8
207
- string: '{"grant_type":"none","client_id":"app-12345"}'
207
+ string: '{"grant_type":"client_credentials"}'
208
208
  headers:
209
209
  User-Agent:
210
210
  - 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":"cli-12345"}'
427
+ string: '{"grant_type":"client_credentials"}'
428
428
  headers:
429
429
  User-Agent:
430
430
  - fog/1.15.0
@@ -509,7 +509,7 @@ http_interactions:
509
509
  uri: http://api.brightbox.dev/token
510
510
  body:
511
511
  encoding: UTF-8
512
- string: '{"grant_type":"none","client_id":"cli-12345"}'
512
+ string: '{"grant_type":"client_credentials"}'
513
513
  headers:
514
514
  User-Agent:
515
515
  - fog/1.15.0
@@ -169,7 +169,7 @@ http_interactions:
169
169
  uri: http://api.brightbox.dev/token
170
170
  body:
171
171
  encoding: UTF-8
172
- string: '{"grant_type":"none","client_id":"app-12345"}'
172
+ string: '{"grant_type":"client_credentials"}'
173
173
  headers:
174
174
  User-Agent:
175
175
  - fog/1.15.0
@@ -213,7 +213,7 @@ http_interactions:
213
213
  uri: http://api.brightbox.dev/token
214
214
  body:
215
215
  encoding: UTF-8
216
- string: '{"grant_type":"none","client_id":"app-12345"}'
216
+ string: '{"grant_type":"client_credentials"}'
217
217
  headers:
218
218
  User-Agent:
219
219
  - fog/1.15.0
@@ -257,7 +257,7 @@ http_interactions:
257
257
  uri: http://api.brightbox.dev/token
258
258
  body:
259
259
  encoding: UTF-8
260
- string: '{"grant_type":"none","client_id":"app-12345"}'
260
+ string: '{"grant_type":"client_credentials"}'
261
261
  headers:
262
262
  User-Agent:
263
263
  - fog/1.15.0
@@ -301,7 +301,7 @@ http_interactions:
301
301
  uri: http://api.brightbox.dev/token
302
302
  body:
303
303
  encoding: UTF-8
304
- string: '{"grant_type":"none","client_id":"app-12345"}'
304
+ string: '{"grant_type":"client_credentials"}'
305
305
  headers:
306
306
  User-Agent:
307
307
  - fog/1.15.0
@@ -345,7 +345,7 @@ http_interactions:
345
345
  uri: http://api.brightbox.dev/token
346
346
  body:
347
347
  encoding: UTF-8
348
- string: '{"grant_type":"none","client_id":"cli-12345"}'
348
+ string: '{"grant_type":"client_credentials"}'
349
349
  headers:
350
350
  User-Agent:
351
351
  - fog/1.15.0
@@ -430,7 +430,7 @@ http_interactions:
430
430
  uri: http://api.brightbox.dev/token
431
431
  body:
432
432
  encoding: UTF-8
433
- string: '{"grant_type":"none","client_id":"cli-12345"}'
433
+ string: '{"grant_type":"client_credentials"}'
434
434
  headers:
435
435
  User-Agent:
436
436
  - fog/1.15.0
@@ -167,7 +167,7 @@ http_interactions:
167
167
  uri: http://api.brightbox.dev/token
168
168
  body:
169
169
  encoding: UTF-8
170
- string: '{"grant_type":"none","client_id":"app-12345"}'
170
+ string: '{"grant_type":"client_credentials"}'
171
171
  headers:
172
172
  User-Agent:
173
173
  - fog/1.15.0
@@ -211,7 +211,7 @@ http_interactions:
211
211
  uri: http://api.brightbox.dev/token
212
212
  body:
213
213
  encoding: UTF-8
214
- string: '{"grant_type":"none","client_id":"app-12345"}'
214
+ string: '{"grant_type":"client_credentials"}'
215
215
  headers:
216
216
  User-Agent:
217
217
  - fog/1.15.0
@@ -255,7 +255,7 @@ http_interactions:
255
255
  uri: http://api.brightbox.dev/token
256
256
  body:
257
257
  encoding: UTF-8
258
- string: '{"grant_type":"none","client_id":"app-12345"}'
258
+ string: '{"grant_type":"client_credentials"}'
259
259
  headers:
260
260
  User-Agent:
261
261
  - fog/1.15.0
@@ -299,7 +299,7 @@ http_interactions:
299
299
  uri: http://api.brightbox.dev/token
300
300
  body:
301
301
  encoding: UTF-8
302
- string: '{"grant_type":"none","client_id":"app-12345"}'
302
+ string: '{"grant_type":"client_credentials"}'
303
303
  headers:
304
304
  User-Agent:
305
305
  - fog/1.15.0
@@ -343,7 +343,7 @@ http_interactions:
343
343
  uri: http://api.brightbox.dev/token
344
344
  body:
345
345
  encoding: UTF-8
346
- string: '{"grant_type":"none","client_id":"cli-12345"}'
346
+ string: '{"grant_type":"client_credentials"}'
347
347
  headers:
348
348
  User-Agent:
349
349
  - fog/1.15.0
@@ -204,7 +204,7 @@ http_interactions:
204
204
  uri: http://api.brightbox.dev/token
205
205
  body:
206
206
  encoding: UTF-8
207
- string: '{"grant_type":"none","client_id":"app-12345"}'
207
+ string: '{"grant_type":"client_credentials"}'
208
208
  headers:
209
209
  User-Agent:
210
210
  - 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":"cli-12345"}'
427
+ string: '{"grant_type":"client_credentials"}'
428
428
  headers:
429
429
  User-Agent:
430
430
  - fog/1.15.0
@@ -167,7 +167,7 @@ http_interactions:
167
167
  uri: http://api.brightbox.dev/token
168
168
  body:
169
169
  encoding: UTF-8
170
- string: '{"grant_type":"none","client_id":"app-12345"}'
170
+ string: '{"grant_type":"client_credentials"}'
171
171
  headers:
172
172
  User-Agent:
173
173
  - fog/1.15.0
@@ -211,7 +211,7 @@ http_interactions:
211
211
  uri: http://api.brightbox.dev/token
212
212
  body:
213
213
  encoding: UTF-8
214
- string: '{"grant_type":"none","client_id":"app-12345"}'
214
+ string: '{"grant_type":"client_credentials"}'
215
215
  headers:
216
216
  User-Agent:
217
217
  - fog/1.15.0
@@ -255,7 +255,7 @@ http_interactions:
255
255
  uri: http://api.brightbox.dev/token
256
256
  body:
257
257
  encoding: UTF-8
258
- string: '{"grant_type":"none","client_id":"app-12345"}'
258
+ string: '{"grant_type":"client_credentials"}'
259
259
  headers:
260
260
  User-Agent:
261
261
  - fog/1.15.0
@@ -299,7 +299,7 @@ http_interactions:
299
299
  uri: http://api.brightbox.dev/token
300
300
  body:
301
301
  encoding: UTF-8
302
- string: '{"grant_type":"none","client_id":"app-12345"}'
302
+ string: '{"grant_type":"client_credentials"}'
303
303
  headers:
304
304
  User-Agent:
305
305
  - fog/1.15.0
@@ -343,7 +343,7 @@ http_interactions:
343
343
  uri: http://api.brightbox.dev/token
344
344
  body:
345
345
  encoding: UTF-8
346
- string: '{"grant_type":"none","client_id":"cli-12345"}'
346
+ string: '{"grant_type":"client_credentials"}'
347
347
  headers:
348
348
  User-Agent:
349
349
  - fog/1.15.0
@@ -169,7 +169,7 @@ http_interactions:
169
169
  uri: http://api.brightbox.dev/token
170
170
  body:
171
171
  encoding: UTF-8
172
- string: '{"grant_type":"none","client_id":"app-12345"}'
172
+ string: '{"grant_type":"client_credentials"}'
173
173
  headers:
174
174
  User-Agent:
175
175
  - fog/1.15.0
@@ -213,7 +213,7 @@ http_interactions:
213
213
  uri: http://api.brightbox.dev/token
214
214
  body:
215
215
  encoding: UTF-8
216
- string: '{"grant_type":"none","client_id":"app-12345"}'
216
+ string: '{"grant_type":"client_credentials"}'
217
217
  headers:
218
218
  User-Agent:
219
219
  - fog/1.15.0
@@ -257,7 +257,7 @@ http_interactions:
257
257
  uri: http://api.brightbox.dev/token
258
258
  body:
259
259
  encoding: UTF-8
260
- string: '{"grant_type":"none","client_id":"app-12345"}'
260
+ string: '{"grant_type":"client_credentials"}'
261
261
  headers:
262
262
  User-Agent:
263
263
  - fog/1.15.0
@@ -301,7 +301,7 @@ http_interactions:
301
301
  uri: http://api.brightbox.dev/token
302
302
  body:
303
303
  encoding: UTF-8
304
- string: '{"grant_type":"none","client_id":"app-12345"}'
304
+ string: '{"grant_type":"client_credentials"}'
305
305
  headers:
306
306
  User-Agent:
307
307
  - fog/1.15.0
@@ -345,7 +345,7 @@ http_interactions:
345
345
  uri: http://api.brightbox.dev/token
346
346
  body:
347
347
  encoding: UTF-8
348
- string: '{"grant_type":"none","client_id":"cli-12345"}'
348
+ string: '{"grant_type":"client_credentials"}'
349
349
  headers:
350
350
  User-Agent:
351
351
  - fog/1.15.0
@@ -430,7 +430,7 @@ http_interactions:
430
430
  uri: http://api.brightbox.dev/token
431
431
  body:
432
432
  encoding: UTF-8
433
- string: '{"grant_type":"none","client_id":"cli-12345"}'
433
+ string: '{"grant_type":"client_credentials"}'
434
434
  headers:
435
435
  User-Agent:
436
436
  - fog/1.15.0
@@ -245,7 +245,7 @@ http_interactions:
245
245
  uri: http://api.brightbox.dev/token
246
246
  body:
247
247
  encoding: UTF-8
248
- string: '{"grant_type":"none","client_id":"app-12345"}'
248
+ string: '{"grant_type":"client_credentials"}'
249
249
  headers:
250
250
  User-Agent:
251
251
  - fog/1.15.0
@@ -289,7 +289,7 @@ http_interactions:
289
289
  uri: http://api.brightbox.dev/token
290
290
  body:
291
291
  encoding: UTF-8
292
- string: '{"grant_type":"none","client_id":"app-12345"}'
292
+ string: '{"grant_type":"client_credentials"}'
293
293
  headers:
294
294
  User-Agent:
295
295
  - fog/1.15.0
@@ -333,7 +333,7 @@ http_interactions:
333
333
  uri: http://api.brightbox.dev/token
334
334
  body:
335
335
  encoding: UTF-8
336
- string: '{"grant_type":"none","client_id":"app-12345"}'
336
+ string: '{"grant_type":"client_credentials"}'
337
337
  headers:
338
338
  User-Agent:
339
339
  - fog/1.15.0
@@ -377,7 +377,7 @@ http_interactions:
377
377
  uri: http://api.brightbox.dev/token
378
378
  body:
379
379
  encoding: UTF-8
380
- string: '{"grant_type":"none","client_id":"app-12345"}'
380
+ string: '{"grant_type":"client_credentials"}'
381
381
  headers:
382
382
  User-Agent:
383
383
  - fog/1.15.0
@@ -421,7 +421,7 @@ http_interactions:
421
421
  uri: http://api.brightbox.dev/token
422
422
  body:
423
423
  encoding: UTF-8
424
- string: '{"grant_type":"none","client_id":"app-12345"}'
424
+ string: '{"grant_type":"client_credentials"}'
425
425
  headers:
426
426
  User-Agent:
427
427
  - fog/1.15.0
@@ -465,7 +465,7 @@ http_interactions:
465
465
  uri: http://api.brightbox.dev/token
466
466
  body:
467
467
  encoding: UTF-8
468
- string: '{"grant_type":"none","client_id":"app-12345"}'
468
+ string: '{"grant_type":"client_credentials"}'
469
469
  headers:
470
470
  User-Agent:
471
471
  - fog/1.15.0
@@ -509,7 +509,7 @@ http_interactions:
509
509
  uri: http://api.brightbox.dev/token
510
510
  body:
511
511
  encoding: UTF-8
512
- string: '{"grant_type":"none","client_id":"cli-12345"}'
512
+ string: '{"grant_type":"client_credentials"}'
513
513
  headers:
514
514
  User-Agent:
515
515
  - fog/1.15.0
@@ -594,7 +594,7 @@ http_interactions:
594
594
  uri: http://api.brightbox.dev/token
595
595
  body:
596
596
  encoding: UTF-8
597
- string: '{"grant_type":"none","client_id":"cli-12345"}'
597
+ string: '{"grant_type":"client_credentials"}'
598
598
  headers:
599
599
  User-Agent:
600
600
  - fog/1.15.0