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

📖 Allow Analytical Platform App Roles to be Assumed by Cloud Platform Roles #5743

Closed
1 of 6 tasks
julialawrence opened this issue Oct 21, 2024 · 2 comments
Closed
1 of 6 tasks
Assignees
Labels

Comments

@julialawrence
Copy link
Contributor

julialawrence commented Oct 21, 2024

User Story

AP application authors want to make use of persistent storage, RDS and other services offered by Cloud Platform in their applications.

Value / Purpose

This would allow users to make more effective use of AP data, especially in applications that require post-load processing and retention of data.

Useful Contacts

Julia Lawrence

User Types

AP App Developers

Hypothesis

If we make an amendment to the app roles trust policy, this will give app owners more flexibility in assuming roles and would free us from having to provide persistent storage/service solution in AP directly. Something that is way outside our remit.

Proposal

  1. Add a trust policy statement in the app role to allow it to be assumed by a Cloud Platform IAM role (which is in turn assumed by Cloud Platform service account)

Additional Information

Currently apps living in Cloud Platform use roles in analytical platform to access resources there. That is what they mean when they say that they can't use the same service account to access resources in CP and AP at the same time. We do it this way because we did not want to have to retrofit apps during the migration. New applications don't always require a similar retrofit so we should make this more flexible by allowing the roles to be assumed by a service account role instead.

Ref Feature Request: #5097

They would need to change their apps for that but it is pretty light touch.

Definition of Done

  • Determine what the best way to get role information from users (supply or dictate name)
  • Implement change in app role trust policy
  • Update register an app form to allow IRSA (what exists already) or cross account IAM (this request)
  • Code reviewed
  • User notified
  • Docs updated (@jacobwoffenden)
@jacobwoffenden
Copy link
Member

@jacobwoffenden
Copy link
Member

This is now in production

@github-project-automation github-project-automation bot moved this from 🛂 In Review to 🎉 Done in Analytical Platform Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 🎉 Done
Development

No branches or pull requests

4 participants