Skip to content

feat: support id token refresh inputs for backend and providers #287

Closed
@andrewhickman-aveva

Description

@andrewhickman-aveva

Implementation Plan

Original Issue Comment

Currently workload identity federation is supported by setting the oidc_token parameter

this.backendConfig.set('oidc_token', workloadIdentityFederationCredentials.idToken);

However this token expires after 10 minutes which can be problematic for long-running jobs. The azurerm provider has been updated to take a new set of parameters, oidc_request_url, oidc_request_token and ado_pipeline_service_connection_id. If all these are set, then terraform can request its own id token when necessary, fixing the issue for long-running jobs.

I'm not sure if this should be configurable, or if the task should just always use the newer parameter.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions