AWS Login action for github/gitea workflows on the FireClover Platform
Find a file
Kim Daniel Engebretsen c5e59a64f3
Update action.yml
2025-08-19 12:18:33 +02:00
action.yml Update action.yml 2025-08-19 12:18:33 +02:00
LICENSE Initial commit 2025-03-05 15:05:01 +01:00
README.md init 2025-03-05 15:27:35 +01:00

aws-login

Usage

Using default login server

jobs:
  build:
    steps:
    - name: Config AWS creds
      uses: fc-actions/aws-login@v0.0.1
      with:
        fireclover-client-id: ${{ vars.FIRECLOVER_CLIENT_ID }} 
        fireclover-client-secret: ${{ secrets.FIRECLOVER_CLIENT_SECRET }}

Custom login server and identity token file

jobs:
  build:
    steps:
    - name: Config AWS creds
      uses: fc-actions/aws-login@v0.0.1
      with:
        fireclover-client-id: ${{ vars.FIRECLOVER_CLIENT_ID }} 
        fireclover-client-secret: ${{ secrets.FIRECLOVER_CLIENT_SECRET }}
        login-server-token-endpoint: 'https://dev.login.ms.fireclover.cloud/oauth2/token'
        aws-web-identity-token-file: 'some-folder/some-other-file'

    - name: Optionally Check the AWS creds
      if: false
      run: |
        cat $AWS_WEB_IDENTITY_TOKEN_FILE
        pip3 install awscli -q --break-system-packages
        aws sts get-caller-identity