Skip to content

Commit f32d6a5

Browse files
docs(srv): add notes on secret regionalization and jobs MTA-5912 (#4824)
1 parent 3250f90 commit f32d6a5

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

pages/serverless-jobs/faq.mdx

+4
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,10 @@ skopeo copy --override-os linux docker://docker.io/alpine:latest docker://rg.fr-
145145

146146
Yes, you can use sensitive data such as API secret keys, passwords, TLS/SSL certificates, or tokens. Serverless Jobs seamlessly integrates with [Secret Manager](/secret-manager/), which allows you to securely reference sensitive information within your jobs. Refer to the [dedicated documentation](/serverless-jobs/how-to/reference-secret-in-job/) for more information.
147147

148+
<Message type="note">
149+
Serverless Jobs can only reference secrets stored in the same [region](/secret-manager/concepts/#region).
150+
</Message>
151+
148152
## Network and storage
149153

150154
### How can I configure access to a Private Network or Virtual Private Cloud (VPC)?

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

+9
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ You can reference any secret stored in Secret Manager in a job, without having t
2020

2121
A [job run](/serverless-jobs/concepts/#job-run) accesses each secret at startup, and each access generates a call to the Secret Manager API, which is billed accordingly. Refer to the [Secret Manager pricing](/secret-manager) for more information.
2222

23+
<Message type="important">
24+
Serverless Jobs can only reference secrets stored in the same [region](/secret-manager/concepts/#region).
25+
</Message>
26+
2327
<Macro id="requirements" />
2428

2529
- A Scaleway account logged into the [console](https://console.scaleway.com)
@@ -37,6 +41,11 @@ A [job run](/serverless-jobs/concepts/#job-run) accesses each secret at startup,
3741

3842
4. Select the secret you want to reference, and the desired version, then click **Select reference method**.
3943

44+
<Message type="note">
45+
If the secret you want to reference does not appear in the list, make sure it is stored in the same [region](/
46+
secret-manager/concepts/#region) as your Serverless Job.
47+
</Message>
48+
4049
5. Select the desired reference method:
4150

4251
- **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.

0 commit comments

Comments
 (0)