ministryofjustice / modernisation-platform

A place for the core work of the Modernisation Platform • This repository is defined and managed in Terraform
https://user-guide.modernisation-platform.service.justice.gov.uk
MIT License
683 stars 291 forks source link

Access Mod Platform S3 bucket from Azure VM #4251

Closed carrb-moj closed 1 year ago

carrb-moj commented 1 year ago

User Story

As an automated process running on a specific Azure vm I need to write, read and list files on a Mod Platform hosted S3 bucket So that extracted Mercury data (Azure hosted VMs) can be uploaded to the new solution, IMS.

user is currently using a cicd user account to access these files which fine for the interim.

User Type(s)

This requirement is only needed for a specific Azure VM which has a managed identity

Value

The process of extracting data from Mercury is essential for the initial view only release of IMS

Assumptions / Hypothesis / Questions / Unknowns

Additional information to explain approach taken

Hypothesis

If we "az login" as the Azure vm's managed identity Then.we will have access to the Mod Platform (hmpps-intelligence-management) S3 bucket

Definition of done

Reference

How to write good user stories Slack conversation with original request Slack conversation where the team discuss how to meet the request

SimonPPledger commented 1 year ago

First step deliver via CICD user and the relevant key. And later we might see if we can do a better way

SimonPPledger commented 1 year ago

This will be picked up via https://github.com/ministryofjustice/modernisation-platform/issues/3909