File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
documentation/docs/fastly:secret-store
SecretStoreEntry/prototype Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -50,10 +50,10 @@ In this example we connect to an Secret Store named `'secrets'` and retrieve a s
50
50
``` js
51
51
// / <reference types="@fastly/js-compute" />
52
52
53
- import { SecretStoreEntry } from " fastly:secret-store" ;
53
+ import { SecretStore } from " fastly:secret-store" ;
54
54
55
55
async function app (event ) {
56
- const secrets = new SecretStoreEntry (' secrets' )
56
+ const secrets = new SecretStore (' secrets' )
57
57
58
58
const catApiKey = await secrets .get (' cat-api-key' )
59
59
Original file line number Diff line number Diff line change @@ -36,10 +36,10 @@ In this example we connect to an Secret Store named `'secrets'` and retrieve a s
36
36
``` js
37
37
// / <reference types="@fastly/js-compute" />
38
38
39
- import { SecretStoreEntry } from " fastly:secret-store" ;
39
+ import { SecretStore } from " fastly:secret-store" ;
40
40
41
41
async function app (event ) {
42
- const secrets = new SecretStoreEntry (' secrets' )
42
+ const secrets = new SecretStore (' secrets' )
43
43
44
44
const catApiKey = await secrets .get (' cat-api-key' )
45
45
You can’t perform that action at this time.
0 commit comments