login
login copied to clipboard
Connect to Azure
Hi! I am facing a similar issue (#180) that appears to have been resolved, but I'm still encountering this problem when executing dotnet tests in GitHub Runner. ``` Azure.Identity.CredentialUnavailableException :...
Hello, I'm following this [MS Learn Exercise](https://learn.microsoft.com/en-us/training/modules/deploy-templates-command-line-github-actions/7-exercise-github-actions) and running into a login issue. `Error: Login failed with Error: Using auth-type: SERVICE_PRINCIPAL. Not all values are present. Ensure 'client-id' and 'tenant-id'...
👀 **What’s new in `azure/login@v2`?** - The default runtime of `azure/login` is updated from `Node16` to `Node20` due to [the upcoming deprecation of Node16](https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/). ⚠️ **This is breaking change** -...
We are using a User Assigned Managed Identity with Federated Credentials from GitHub. According to the GitHub documentation (https://github.com/Azure/login?tab=readme-ov-file), we would expect the token to refresh and remain valid for...
- name: Login via Az module uses: azure/[email protected] with: creds: ${{ secrets.AZURE_CREDENTIALS }} **using this YAML script** **and passing this JSON file in secrets.** { "clientId":"xxxxxx", "clientSecret":"xxxxxx", "subscriptionId":"xxxxxx", "tenantId":"xxxxxx", "activeDirectoryEndPointUrl":"https://login.microsoftonline.com",...
When calling azure/[email protected] from a composite action, the following warning is generated: ``Warning: `pre` execution is not supported for local action from './.github/actions/deploy-infrastructure '`` Example workflow block: ``` - name:...
The purpose of `pre/post` cleanup is to ensure no Azure account remains active before and after a job containing `azure/login`. This measure prevents incorrect operations on unexpected Azure accounts and...
The [pre and post action cleanup](https://github.com/Azure/login/blob/81e1d9f360e1ba776e93b8ead1c4320761356b2a/src/cleanup.ts#L7) is somewhat time consuming, especially for otherwise short actions. It is also unnecessary in some contexts, for example when running on GitHub hosted runners...
We see the below error when using a service principal to authenticate: > Error: /usr/lib/python3/dist-packages/requests/__init__.py:89: RequestsDependencyWarning: urllib3 (1.25.8) or chardet (5.2.0) doesn't match a supported version! > warnings.warn("urllib3 (***) or...
Hello! We're using self-hosted GitHub runners and it would be really nice to have OIDC utilizing the configured [workload identity](https://azure.github.io/azure-workload-identity/docs/quick-start.html) on the runner pod.