diff --git a/serverless/jobs/how-to/reference-secret-in-job.mdx b/serverless/jobs/how-to/reference-secret-in-job.mdx index b1fa7bd272..915a6310d7 100644 --- a/serverless/jobs/how-to/reference-secret-in-job.mdx +++ b/serverless/jobs/how-to/reference-secret-in-job.mdx @@ -39,13 +39,13 @@ A [job run](/serverless/jobs/concepts/#job-run) accesses each secret at startup, 5. Select the desired reference method: - - **File**: copies the encrypted value of your secret to a file stored at the indicated location within your container. This method is recommended for large or complex data. For example, if your secret is a certificate, you can store it as a file in the `/my-certificates` folder in your container. + - **File**: copies the encrypted value of your secret to a file stored at the indicated location within your job. This method is recommended for large or complex data. For example, if your secret is a certificate, you can store it as a file in the `/my-certificates` folder in your job. - - **Environment variable**: passes the encrypted value of your secret to your job as a variable. This method is recommended for small pieces of information, such as passwords, or API secret keys. For example, if you name this variable `MY_SECRET`, calling `$MY_SECRET` in your container will return the value of the selected secret in a secure way. + - **Environment variable**: passes the encrypted value of your secret to your job as a variable. This method is recommended for small pieces of information, such as passwords, or API secret keys. For example, if you name this variable `MY_SECRET`, calling `$MY_SECRET` in your job will return the value of the selected secret in a secure way. 6. Click **Add reference** to add the secret to your Serverless Job. Optionally, tick the **Add another reference** to add a new secret right away, then repeat steps 4 to 6. -The secret is now referenced in your Serverless Job, and can be used within the container. +The secret is now referenced in your Serverless Job, and can be used within the job. ## Update a secret reference from a job @@ -60,7 +60,7 @@ The secret is now referenced in your Serverless Job, and can be used within the 5. Either update the location of the file, or the name of the environment variable, then click **Update reference** to confirm your changes. -You cannot change the reference method of an existing secret. You have to delete the secret reference within the job first, then create it again with the desired reference method. +You cannot change the reference method of an existing secret. To modify it, first delete the secret reference within the job, then create a new one with the desired reference method. ## Delete a secret reference from a job