Repository navigation
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
- Workload identity by @nik-humphries in #1
New Contributors
- @nik-humphries made their first contribution in #1
Full Changelog: https://github.com/nik-humphries/AzureAuth/commits/v1.4.2
What's Changed
- Token var file location by @nik-humphries in #4
Full Changelog: v1.4.2...v1.4.3