department-of-veterans-affairs / va.gov-team

Public resources for building on and in support of VA.gov. Visit complete Knowledge Hub:
https://depo-platform-documentation.scrollhelp.site/index.html
282 stars 203 forks source link

Please generate Public/Private Key pairs for Clipboard Questionnaire app integration with MAP #13188

Closed stephenBarrs closed 3 years ago

stephenBarrs commented 4 years ago

Issue Description

The Clipboard Questionnaire app will make calls into the Mobile Application Platform (MAP) environment. Authentication is handled by a JWT Exchange service endpoint in MAP, which requires a public/private key exchange. We will need three sets of keys for each environment we will connect to: Sandbox, Staging and Production.


From the MAP user-service JWT Exchange documentation:

You must generate RSA 2048- or 4096-bit keypairs to be used in each environment- sandbox, staging, and production. Once that is completed, you must submit all 3 generated public keys and a desired reverse DNS-style issuer ID (e.g. gov.va.system.v1)

@massrb is the backend developer for this product. As I understand it, the private keys will be stored in credstash. Not sure if Operations puts them there or if @massrb would securely receive the private key and add to credstash.

This key exchange is identical to the VAOS key exchange for their MAP integration, if we want to see an example of how this has been previously implemented.

Here is the PR for the Questionnaire app External Service Integration Form

Tasks

Acceptance Criteria

ricetj commented 4 years ago

@tskinn to add info on adding a backend

jhouse-solvd commented 3 years ago

@stephenBarrs - This is an older ticket, but can you confirm whether or not your team got everything that was needed here?

jhouse-solvd commented 3 years ago

I believe this is done. We can re-open if anything else is needed.

Closing.