Enable FIPS 140-3 Compliance for RDS API#91
Closed
kraigeisenman wants to merge 1 commit into
Closed
Conversation
- Upgrade Go version from 1.23 to 1.24 for native FIPS 140-3 support - Add GOFIPS140=v1.0.0 build flag to enable FIPS-compliant cryptography - Configure AWS SDK to use FIPS endpoints via UseFIPSEndpoint setting Go 1.24 includes native FIPS 140-3 support through the crypto/fips140 module, which uses AWS-LC (NIST Certificate #4631). This ensures all cryptographic operations use FIPS 140-3 validated algorithms. The UseFIPSEndpoint configuration directs all AWS API calls to FIPS endpoints (e.g., rds-fips.us-east-1.amazonaws.com), ensuring end-to-end FIPS compliance for Dedicated MySQL and PostgreSQL offerings. Relates to: CLOUD-615
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR enables FIPS 140-3 compliance for the RDS API, ensuring that Dedicated MySQL and PostgreSQL offerings in Spinup Plus meet federal cryptographic standards.
Changes
GOFIPS140=v1.0.0environment variable to enable FIPS-compliant cryptography during buildUseFIPSEndpoint: aws.FIPSEndpointStateEnabledTechnical Details
Go 1.24 FIPS 140-3 Support:
crypto/fips140moduleGOFIPS140=v1.0.0build flag activates FIPS-approved algorithms onlyAWS FIPS Endpoints:
rds-fips.us-east-1.amazonaws.com)pkg/session/session.gofor all AWS sessionsFiles Changed
go.moddocker/Dockerfiledocker/Dockerfile.localpkg/session/session.goUseFIPSEndpointconfigurationDependencies
golang:1.24-alpineis available.Related
Test Plan
crypto/fips140.Enabled()returns true