wazuh / wazuh-indexer

Wazuh indexer, the Wazuh search engine
https://opensearch.org/docs/latest/opensearch/index/
Apache License 2.0
11 stars 17 forks source link

Wazuh packages redesign tier 1 - Use secret for AWS region #208

Closed AlexRuiz7 closed 5 months ago

AlexRuiz7 commented 5 months ago

Description

It is needed for all repositories involved in the Packages redesign objective to add an authentication step to AWS, so the workflows do not use a hard-coded region.

The secret name is: CI_AWS_REGION

      - name: Set up AWS CLI
        uses: aws-actions/configure-aws-credentials@v4
        with:
          aws-access-key-id: ${{ secrets.CI_INTERNAL_DEVELOPMENT_BUCKET_USER_ACCESS_KEY }}
          aws-secret-access-key: ${{ secrets.CI_INTERNAL_DEVELOPMENT_BUCKET_USER_SECRET_KEY }}
          aws-region: ${{ secrets.CI_AWS_REGION }}