I have been working on updating our CF Stack across multiple applications to be FIPS-140 enabled; which is working fine for enabling FIPS on the AMI bake jobs. However, once the application is deployed from the pipeline it is failing to work with secretsmanager, any ideas?
Using this guide for fips: https://aws.amazon.com/compliance/fips/
Policies:
- PolicyName: ApiAccessForAssetInstances
PolicyDocument:
Statement:
- Effect: Allow
Action:
- 'cloudwatch:PutMetricData'
- 'logs:PutLogEvents'
- 'logs:CreateLogGroup'
- 'logs:CreateLogStream'
- 'secretsmanager:GetSecretValue'
Resource: '*'
- Effect: Allow
Action:
- 's3:AbortMultipartUpload'
- 's3:DeleteObject*'
- 's3:PutObject*'
- 's3:RestoreObject'
Resource:
- !Sub "arn:aws:s3:::${AssetGroup}-services-product-newlexis-${EnvType}-us-east-1/*"
- !Sub "arn:aws:s3:::${AssetGroup}-services-product-newlexis-${EnvType}-us-east-1"
- !Sub "arn:aws:s3:::services-configs.${EnvType}"
- !Sub "arn:aws:s3:::services-configs.${EnvType}/*"
ListSecrets
as well? (some libraries like to list before getting) – Sotto Voce Sep 23 '22 at 18:33