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

[Merged by Bors] - Update gcp auth to Workload Identity #6223

Closed
wants to merge 5 commits into from

Conversation

andres-spacemesh
Copy link
Contributor

@andres-spacemesh andres-spacemesh commented Aug 6, 2024

Motivation

Enhance application security by migrating from service account key-based authentication to workload identity. This aligns with best practices for cloud-based applications. WIF

Description

Previously, the application relied on a service account key for authentication. To address security concerns associated with static credentials, introduce workload identity authentication. This eliminates service account key management and provides finer-grained access control.
Note: This change has been successfully implemented and tested in the devops-apps repo

Test Plan

Test the upload to the GCS Buckets and Systest execution

TODO

  • Add the required roles for systests.

Copy link

codecov bot commented Aug 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.0%. Comparing base (a03ea8f) to head (ab5c394).
Report is 1 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff           @@
##           develop   #6223   +/-   ##
=======================================
  Coverage     82.0%   82.0%           
=======================================
  Files          307     307           
  Lines        34105   34105           
=======================================
+ Hits         27997   28000    +3     
+ Misses        4331    4328    -3     
  Partials      1777    1777           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

.github/workflows/release.yml Outdated Show resolved Hide resolved
.github/workflows/release.yml Outdated Show resolved Hide resolved
.github/workflows/systest.yml Outdated Show resolved Hide resolved
@fasmat
Copy link
Member

fasmat commented Aug 16, 2024

bors try

spacemesh-bors bot added a commit that referenced this pull request Aug 16, 2024
@spacemesh-bors
Copy link

try

Build failed:

@fasmat
Copy link
Member

fasmat commented Aug 16, 2024

bors merge

spacemesh-bors bot pushed a commit that referenced this pull request Aug 16, 2024
## Motivation

Enhance application security by migrating from service account key-based authentication to workload identity. This aligns with best practices for cloud-based applications. [WIF](https://cloud.google.com/iam/docs/workload-identity-federation)



Co-authored-by: Matthias <[email protected]>
@spacemesh-bors
Copy link

Build failed:

@fasmat
Copy link
Member

fasmat commented Aug 16, 2024

bors merge

@spacemesh-bors
Copy link

Merge conflict.

@fasmat fasmat force-pushed the update-gcp-auth-to-wif branch from 7fb188b to ab5c394 Compare August 17, 2024 12:29
@fasmat
Copy link
Member

fasmat commented Aug 17, 2024

bors merge

spacemesh-bors bot pushed a commit that referenced this pull request Aug 17, 2024
## Motivation

Enhance application security by migrating from service account key-based authentication to workload identity. This aligns with best practices for cloud-based applications. [WIF](https://cloud.google.com/iam/docs/workload-identity-federation)



Co-authored-by: Matthias <[email protected]>
@spacemesh-bors
Copy link

Pull request successfully merged into develop.

Build succeeded:

@spacemesh-bors spacemesh-bors bot changed the title Update gcp auth to Workload Identity [Merged by Bors] - Update gcp auth to Workload Identity Aug 17, 2024
@spacemesh-bors spacemesh-bors bot closed this Aug 17, 2024
@spacemesh-bors spacemesh-bors bot deleted the update-gcp-auth-to-wif branch August 17, 2024 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants