From 2f526850d601dafb6d2a8cd2a14db847bf68bdc4 Mon Sep 17 00:00:00 2001 From: Maidul Islam Date: Tue, 16 Apr 2024 01:20:52 -0400 Subject: [PATCH] edits to aws amplify docs --- docs/integrations/cloud/aws-amplify.mdx | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/integrations/cloud/aws-amplify.mdx b/docs/integrations/cloud/aws-amplify.mdx index fa6a53fa7..eac737b7d 100644 --- a/docs/integrations/cloud/aws-amplify.mdx +++ b/docs/integrations/cloud/aws-amplify.mdx @@ -9,9 +9,9 @@ Prerequisites: There are many approaches to sync secrets stored within Infisical to AWS Amplify. This guide describes two such approaches below. -## Fetch Secrets On Build +## Access Infisical secrets at Amplify build time -This approach enables the synchronization of secrets from Infisical to AWS Amplify during container build. +This approach enables you to fetch secrets from Infisical during Amplify build time. @@ -52,7 +52,8 @@ This approach enables the synchronization of secrets from Infisical to AWS Ampli ## Sync Secrets Using AWS SSM Parameter Store -Another approach to use secrets from Infisical in AWS Amplify is to utilize AWS Parameter Store. At high level, you begin by using Infisical's AWS SSM integration to sync secrets from Infisical to AWS SSM. You then instruct AWS Amplify to consume those secrets from AWS SSM as environment variables. +Another approach to use secrets from Infisical in AWS Amplify is to utilize AWS Parameter Store. +At high level, you begin by using Infisical's AWS SSM Parameter Store integration to sync secrets from Infisical to AWS SSM Parameter Store. You then instruct AWS Amplify to consume those secrets from AWS SSM Parameter Store as [environment secrets](https://docs.aws.amazon.com/amplify/latest/userguide/environment-variables.html#environment-secrets). @@ -65,10 +66,10 @@ Another approach to use secrets from Infisical in AWS Amplify is to utilize AWS 3. The App ID will be the last part of the App ARN field after the slash. - You need to set the path in the format `/amplify/[amplify_app_id]/[environment]` as the path option in AWS SSM Parameter Infisical Integration. + You need to set the path in the format `/amplify/[amplify_app_id]/[your-amplify-environment-name]` as the path option in AWS SSM Parameter Infisical Integration. -Accessing an environment secret during a build is similar to accessing environment variables, except that environment secrets are stored in `process.env.secrets` as a JSON string. + Accessing an environment secret during a build is similar to accessing environment variables, except that environment secrets are stored in `process.env.secrets` as a JSON string.