Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

az login: error: 'issuer' #10

Open
EdoElgx opened this issue Jul 4, 2023 · 0 comments
Open

az login: error: 'issuer' #10

EdoElgx opened this issue Jul 4, 2023 · 0 comments

Comments

@EdoElgx
Copy link

EdoElgx commented Jul 4, 2023

Hello,
Thank you for your contribution.

When running the step, I get the mentioned error:

Run venura9/manage-nsg@master
  with:
    azure-credentials: ***
    rule-nsg-resource-group-name: main
    rule-nsg-name: timpa-nsg
    rule-inbound-port: ***
    rule-priority-start: 300
    rule-priority-range: 100
/usr/bin/docker run --name a6c8c0a[2](https://github.com/EdoElgx/timpa-server/actions/runs/5459094615/jobs/9934781657#step:5:2)18b9851[3](https://github.com/EdoElgx/timpa-server/actions/runs/5459094615/jobs/9934781657#step:5:3)[4](https://github.com/EdoElgx/timpa-server/actions/runs/5459094615/jobs/9934781657#step:5:4)47e296[5](https://github.com/EdoElgx/timpa-server/actions/runs/5459094615/jobs/9934781657#step:5:5)b71174c0ef18f_e3034f --label 2a[6](https://github.com/EdoElgx/timpa-server/actions/runs/5459094615/jobs/9934781657#step:5:6)c8c --workdir /github/workspace --rm -e "INPUT_AZURE-CREDENTIALS" -e "INPUT_RULE-NSG-RESOURCE-GROUP-NAME" -e "INPUT_RULE-NSG-NAME" -e "INPUT_RULE-INBOUND-PORT" -e "INPUT_RULE-PRIORITY-START" -e "INPUT_RULE-PRIORITY-RANGE" -e "INPUT_RULE-ID-FOR-REMOVAL" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKFLOW_REF" -e "GITHUB_WORKFLOW_SHA" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_ENVIRONMENT" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/timpa-server/timpa-server":"/github/workspace" 2a6c8c:0a218b9851344[7](https://github.com/EdoElgx/timpa-server/actions/runs/5459094615/jobs/9934781657#step:5:7)e2965b71174c0ef1[8](https://github.com/EdoElgx/timpa-server/actions/runs/5459094615/jobs/9934781657#step:5:8)f  "***" "300" "[10](https://github.com/EdoElgx/timpa-server/actions/runs/5459094615/jobs/9934781657#step:5:11)0" "***" "" "main" "timpa-nsg"
usage: az login [-h] [--verbose] [--debug] [--only-show-errors]
                [--output {json,jsonc,yaml,yamlc,table,tsv,none}]
                [--query JMESPATH] [--username USERNAME] [-***
                [--service-principal] [--tenant TENANT]
                [--allow-no-subscriptions] [-i] [--use-device-code]
                [--use-cert-sn-issuer]
az login: error: 'issuer'

This is the action step definition:

      - name: Add NSG rule
        uses: venura9/manage-nsg@master
        id: rule
        with:
          azure-credentials: ${{ secrets.AZURE_CREDENTIALS }}
          rule-nsg-resource-group-name: main
          rule-nsg-name: timpa-nsg
          rule-inbound-port: ${{ secrets.SSH_PORT }}

The AZURE_CREDENTIALS secret contains the following:

{
  "appId": "8b....84",
  "displayName": "TimpaServerDeployment",
  "password": "***",
  "tenant": "***"
}

What am I doing wrong?

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant