Closed somesylvie closed 1 month ago
Code is merged, but unable to deploy because someone changed permissions for our github deployer. We're blocked on deploying to staging and prod, and thus also blocked from updating the keyvault secrets until this is resolved
Looks like we have the information to reset the "third" SFTP account password:
Please have them go to https://selfservice.cdph.ca.gov Click "Reset Password" on the left-hand side Enter the username TESTFlexionUCSDSS01, leave domain as External Partner, enter characters and click Continue Follow the steps to create a new password. Please have them bookmark this site. Passwords expire after 90 days.
@somesylvie can we pair on this? Want to make sure this gets captured in Keybase.
TESTFlexionUCSDSS01 password has been reset and added to keybase.
keybase://team/cdc_ti/secrets_to_access_partner_services/CA/cdph-sftp-nonprod-credentials.txt
New keys sent to Sumitha:
Sumitha, We've posted updated keys in RSA format. Please let us know if they work for you/Lauren.
Path to the files for each account: /Home/CDPH-SIS-Staging/HIE-Staging/UCSD
Follow up poke sent to Sumitha on 08/23/24 at 2:40 PM EDT.
Update request on UCSD - Secure Keys for SFTP sent to Jamie Matterson. Jamie will follow up with Sumitha regarding updated key pairs.
Looks like the SSH keys are all set: Hi Shawn, I got confirmation from ITSD that the keys were added successfully to the respective service accounts. We should be all set. Thanks Sumitha
Sumitha/Jamie, We are seeing some odd behavior. We are able to log in to both production and staging accounts using the keys we shared, another key, and also no key. We were only expecting logins to work with the correct keys. Can you verify these security settings have been turned on? Best, Shawn
From Sumitha:
Sambathkumar, Sumitha@CDPH Sumitha.Sambathkumar@cdph.ca.gov 12:32 PM (16 minutes ago) to Lauren@CDPH, me, cdc-ti, Jamie@CDPH
+Lauren,
Hi Lauren – can you please assist. See Shawn’s comment below. Is there something in addition we need to configure? Thanks Sumitha
This is ready for merge. Hoping to test in Internal tomorrow.
We are running into frequent issues uploading keys due to Azure Portal quirks. Specifically the whitespace and multiline pastes not being supported.
We've resorted to uploading the file into Teams, and using VIM to add the new line within Azure Portal.
Tasks have been updated above. PR is merged. We plan to tackle a good chunk of the remaining work today.
Production deploy and secrets are complete.
Prod testing successful
Story
As a partner, so that I can use the Intermediary, I need the infrastructure, code, and secrets in production.
Acceptance Criteria
ca-phl.etor-nbs-results
sender, notflexion.simulated-lab
(the scope in code and theCA_PHL_CLIENT_NAME
in terraform will both need new values).Tasks
Research
Engineering
RITM0343277
service desk ticket created) - @halprinscope
to be correct for CADPHEdit: as of 8/21, we've decided to use the
ca-phl
org that's been created and is in staging already (and is ETOR/TI specific), rather than doing anything with the covid-specificca-dph
that already existed[x] Rename Flexion-flavored env vars and/or secrets to use
ca-phl
as part of the name to create a consistent pattern[x] Keys to access ReportStream (as
ca-phl.etor-nbs-results
) - as of 9/16, Jorge and James got the private key to put intoca-phl-reportstream-private-key-{env}
. Prod's secret update will be tracked in a task down below.ca-phl.etor-nbs-results
as the sender inapp.tf
.report_stream_sender.go
to beca-phl.*.report
.ca-phl-reportstream-private-key-internal
secret in internalca-phl-reportstream-private-key-dev
secret in devca-phl-reportstream-private-key-stg
secret in stg[x] Rename keys.
ca-phl-sftp-private-key-env
toca-phl-sftp-user-credential-private-key-env
.mock_credentials
.docker-compose.yml
.ca-phl-sftp-public-key-env
toca-phl-sftp-host-public-key-env
.mock_credentials
.docker-compose.yml
.mock_credentials
.[x] Consider moving files around keybase to better align with naming convention. Renaming as needed perhaps. - @halprin
No longer blocked by CADPH API key setup:
[x] Deploy to production (this has been done once, but needs to be done again after the name changes above have been merged)
[x] After Terraform is run in production, update all keys/passwords/secrets that need manual updates:
ca-phl-reportstream-private-key-prd
ca-phl-sftp-host-public-key-prd
ca-phl-sftp-server-address-prd
ca-phl-sftp-starting-directory-prd
ca-phl-sftp-user-credential-private-key-prd
ca-phl-sftp-user-prd
ca-phl-zip-password-prd
[x] Update RS key for other envs. Update code to use the correct sender.
[x] Triage prod and why we can't dequeue the SFTP trigger message.
[x] Have Ott make org in RS prod.
[x] Test in prod.
[x] Set CRON to February 30th (or whatever so it doesn't run) until our partners are ready.
Definition of Done
/ig
folder)/adr
folder)README.md
ReportStream Setup
section inREADME.md
Research Questions
Decisions
Notes