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

As tech lead, I want updating JWT_KEY for Login.gov to be secure and accessible #1977

Closed
9 tasks
andrew-jameson opened this issue Jul 20, 2022 · 2 comments
Closed
9 tasks
Assignees
Labels
Blocked Label for Pull Requests that are currently blocked by a dependency dev devops DX Developer Experience Refined Ticket has been refined at the backlog refinement

Comments

@andrew-jameson
Copy link
Collaborator

andrew-jameson commented Jul 20, 2022

Description:
When updating JWT keys, I want to be able to share keys across the team in a secure manner. I've seen Hashicorp Vault, SOPS, and Ansible Vault among other utilities cover this key management problem. Being able to utilize one of these solutions would allow key rotation and updating environment variables for the application to work more easily as it related to the work from #1826.

Acceptance Criteria:
Create a list of functional outcomes that must be achieved to complete this issue

  • JWT_KEY values for all three cloud.gov spaces are secure, updatable, readable
  • JWT_KEY values are no longer stored in CircleCI environment variables
  • The storage solution for JWT_KEYs are accessible by dev team, government tech lead, and CircleCI
  • JWT_KEY values are updated via the CircleCI deployment pipelines by both raft-tech and HHS repositories
  • Testing Checklist has been run and all tests pass
  • README is updated, if necessary

Tasks:
Create a list of granular, specific work items that must be completed to deliver the desired outcomes of this issue

  • Using pre-existing Terraform state s3 bucket, store JWT_KEY values for the respective CF spaces
  • JWT_KEY values for CF spaces are updated during our CircleCI deployments using the state bucket as their source of truth
  • Document the process for developers to access the JWT_KEYs for respective space

Notes:
Add additional useful information, such as related issues and functionality that isn't covered by this specific issue, and other considerations that will be helpful for anyone reading this

  • While Terraform can inspect the CF apps' environment variables, we do not want these values to overwrite the s3 state bucket as 'source of truth'

Supporting Documentation:

Open Questions:

@andrew-jameson andrew-jameson changed the title SPIKE: As tech lead, I want updating JWT_KEY for Login.gov SPIKE: As tech lead, I want updating JWT_KEY for Login.gov to be secure and accessible Jul 20, 2022
@stevenino stevenino added the Refined Ticket has been refined at the backlog refinement label Aug 11, 2022
@andrew-jameson andrew-jameson removed the Refined Ticket has been refined at the backlog refinement label Aug 16, 2022
@andrew-jameson
Copy link
Collaborator Author

To be discussed at dev sync upon @raft-twhitlock 's return.

@andrew-jameson andrew-jameson removed their assignment Aug 16, 2022
@andrew-jameson andrew-jameson changed the title SPIKE: As tech lead, I want updating JWT_KEY for Login.gov to be secure and accessible As tech lead, I want updating JWT_KEY for Login.gov to be secure and accessible Oct 20, 2022
@andrew-jameson andrew-jameson added devops DX Developer Experience Refined Ticket has been refined at the backlog refinement and removed WIP labels Oct 20, 2022
@raft-twhitlock raft-twhitlock added Deploy with CircleCI-raft Deploy to https://tdp-frontend-raft.app.cloud.gov through CircleCI Deploy with CircleCI-sandbox and removed Deploy with CircleCI-raft Deploy to https://tdp-frontend-raft.app.cloud.gov through CircleCI labels Oct 20, 2022
@stevenino stevenino added the Blocked Label for Pull Requests that are currently blocked by a dependency label Oct 31, 2022
@George-Hudson George-Hudson self-assigned this Feb 10, 2023
@robgendron
Copy link

Deemed closed by @andrew-jameson.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Blocked Label for Pull Requests that are currently blocked by a dependency dev devops DX Developer Experience Refined Ticket has been refined at the backlog refinement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants