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

Updating Azure SCIM lambda to use secrets manager rather than placeholder values #985

Merged
merged 2 commits into from
Sep 10, 2024

Conversation

julialawrence
Copy link
Contributor

Related ticket:
ministryofjustice/analytical-platform#4271

This PR configures the EntraID SCIM lambda to pull sensitive values from Secrets Manager rather than using placeholders which get overwritten every time terraform runs.

At present, the code is retrieving information from an existing secret. In a follow-on PR, I will import it into terraform management.

Context:
Terraform and function code here:
https://github.com/ministryofjustice/moj-terraform-scim-entra-id

Details on executing the function tests are here:
ministryofjustice/moj-terraform-scim-entra-id#6

Copy link
Contributor

github-actions bot commented Sep 10, 2024

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ REPOSITORY gitleaks yes no 0.57s
✅ REPOSITORY trivy yes no 9.38s
✅ TERRAFORM terraform-fmt 3 0 0.11s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security

@julialawrence julialawrence marked this pull request as ready for review September 10, 2024 15:49
@julialawrence julialawrence requested a review from a team as a code owner September 10, 2024 15:49
Copy link
Contributor

@connormaglynn connormaglynn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀 Looks Good To Me!

@julialawrence julialawrence merged commit 555d4d6 into main Sep 10, 2024
5 checks passed
@julialawrence julialawrence deleted the feature/grab-azure-creds-from-secrets-manager branch September 10, 2024 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants