Skip to content

Commit 5f57e32

Browse files
committed
Mention local Secrets
1 parent 9ddca4c commit 5f57e32

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

content/en-us/reference/engine/classes/HttpService.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,10 @@ methods:
155155
domain name to `*`. You can also limit the URL to a specific domain name
156156
such as `apis.myservice.com` or to subdomains of a domain, for example
157157
`*.myservice.org`.
158+
159+
Production `Datatype.Secrett`s are only available in live servers and Team Create. Local `Datatype.Secret`s are stored on your device per-experience, and are available for non-Team Create Studio. To add a local `Datatype.Secret` in Studio, go to the **Game Settings** in the **Home** tab of the ribbon bar. Then go to the **Security** tab of **Game Settings**.
160+
161+
Enter `Datatype.Secret`s in the JSON form `{"secret_name": ["cGFzc3dvcmQ=", "*.google.com"], "other_secret": ["cGFzc3dvcmQ=", "*.github.com"]}`, where `cGFzc3dvcmQ=` is the secret value, and `*.google.com` is the domain the secret is valid for. Secret values must be encoded in Base64.
158162
code_samples: []
159163
parameters:
160164
- name: key

0 commit comments

Comments
 (0)