Closed adezxc closed 1 year ago
This PR is related to issue terraform-provider-vcd#995
Add support for authenticating using a Service Account
For now, the PR only enables using Service accounts that are in Active Stage so the user is expected to provide an file containing an api token .json file e.g
Active Stage
.json
{"refresh_token":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}
So the SDK will do the following steps:
refresh_token
SetApiToken
This PR is related to issue terraform-provider-vcd#995
Add support for authenticating using a Service Account
For now, the PR only enables using Service accounts that are in
Active Stage
so the user is expected to provide an file containing an api token.json
file e.gSo the SDK will do the following steps:
refresh_token
usingSetApiToken
refresh_token
to the same file