Skip to content

Commit ae775b5

Browse files
SamyOubouazizRoRoJ
andauthored
Update serverless/jobs/how-to/reference-secret-in-job.mdx
Co-authored-by: Rowena Jones <[email protected]>
1 parent 6d91b04 commit ae775b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

serverless/jobs/how-to/reference-secret-in-job.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ You can reference any secret stored in Secret Manager in a job, without having t
3939

4040
- **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.
4141

42-
- **Environment variable**: passes the encrypted value of your secret to your job as a variable. This method is recommended for small 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.
42+
- **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.
4343

4444
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.
4545

0 commit comments

Comments
 (0)