TobKed opened a new pull request #19894:
URL: https://github.com/apache/airflow/pull/19894


   Hardening security by using OIDC to authorize access to AWS.
   
   Requires to set up `DOCS_AWS_ROLE_TO_ASSUME` in GA secrets, 
`DOCS_AWS_ACCESS_KEY_ID` and `DOCS_AWS_SECRET_ACCESS_KEY` secrets will not be 
necessary anymore and could be deleted.
   
   # TODO:
   
   - [ ] - trust and policy json files
   - [ ] - instructions to setup OIDC on AWS
   
   ### Links
   
   Instructions based on : https://github.com/TobKed/github_actions_oidc/
   
   More information about  GItHub Actions and OIDC:
   
    - [The GitHub Blog: GitHub Actions: Secure cloud deployments with OpenID 
Connect](https://github.blog/changelog/2021-10-27-github-actions-secure-cloud-deployments-with-openid-connect/)
    - [GitHub Docs - About security hardening with OpenID 
Connect](https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/about-security-hardening-with-openid-connect)
    - [GitHub Docs - Configuring OpenID Connect in Amazon Web 
Services](https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services)
    - [AWS - Creating OpenID Connect (OIDC) identity 
providers](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_create_oidc.html)
    - [AWS - Creating a role for web identity or OpenID connect federation 
(console) 
](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-idp_oidc.html)
    - [AWS - Obtaining the thumbprint for an OpenID Connect Identity 
Provider](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_create_oidc_verify-thumbprint.html)
   
   <!--
   Thank you for contributing! Please make sure that your code changes
   are covered with tests. And in case of new features or big changes
   remember to adjust the documentation.
   
   Feel free to ping committers for the review!
   
   In case of existing issue, reference it using one of the following:
   
   closes: #ISSUE
   related: #ISSUE
   
   How to write a good git commit message:
   http://chris.beams.io/posts/git-commit/
   -->
   
   ---
   **^ Add meaningful description above**
   
   Read the **[Pull Request 
Guidelines](https://github.com/apache/airflow/blob/main/CONTRIBUTING.rst#pull-request-guidelines)**
 for more information.
   In case of fundamental code change, Airflow Improvement Proposal 
([AIP](https://cwiki.apache.org/confluence/display/AIRFLOW/Airflow+Improvements+Proposals))
 is needed.
   In case of a new dependency, check compliance with the [ASF 3rd Party 
License Policy](https://www.apache.org/legal/resolved.html#category-x).
   In case of backwards incompatible changes please leave a note in 
[UPDATING.md](https://github.com/apache/airflow/blob/main/UPDATING.md).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to