Skip to content

v1.4.3

Latest

Choose a tag to compare

@nik-humphries nik-humphries released this 15 Jul 13:08
fbb5cae

New function added get_workload_token with some new parameters.

resource
tenant = Sys.getenv("AZURE_TENANT_ID")
app = Sys.getenv("AZURE_CLIENT_ID")
oidc_token_path = Sys.getenv("AZURE_FEDERATED_TOKEN_FILE")

When using workload identities on AKS, the tenant and app are automatically passed in by the workload identity controller. A secret OIDC token is also injected into the above path that you can see. These are used together to generate an access token for a resource (that the workload identity has permissions for) specified as the resource parameter. One such resource could be https://storage.azure.com/.default for storage accounts.

workload_identity_present is a new function that will return TRUE if the parameters for using a workload identity are present.

What's Changed

New Contributors

Full Changelog: https://github.com/nik-humphries/AzureAuth/commits/v1.4.2

What's Changed

Full Changelog: v1.4.2...v1.4.3