This repository was archived by the owner on May 20, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
docs/reference/csharp/secrets Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ var keyRef = Application.Secret("apikey").Allow(SecretPermission.Access);
14
14
15
15
var keyValue = keyRef .Latest ().Access ();
16
16
17
- keyValue .ValueText ;
17
+ keyValue .Value ;
18
18
19
19
Application .Run ();
20
20
```
@@ -31,7 +31,7 @@ var keyRef = Application.Secret("apikey").Allow(SecretPermission.Access);
31
31
32
32
var keyValue = keyRef .Latest ().Access ();
33
33
34
- keyValue .ValueText ;
34
+ keyValue .Value ;
35
35
36
36
Application .Run ();
37
37
```
@@ -46,7 +46,7 @@ var keyRef = Application.Secret("apikey").Allow(SecretPermission.Access);
46
46
47
47
var keyValue = keyRef .Version (" the-version-id" ).Access ();
48
48
49
- keyValue .ValueText ;
49
+ keyValue .Value ;
50
50
51
51
Application .Run ();
52
52
```
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ var keyRef = Application.Secret("encryptionKey").With(SecretPermission.Accessing
50
50
51
51
var keyVersionRef = keyRef .Version (" the-version-id" ).Access ();
52
52
53
- var keyValue = keyVersionRef .ValueText ;
53
+ var keyValue = keyVersionRef .Value ;
54
54
55
55
Application .Run ();
56
56
```
You can’t perform that action at this time.
0 commit comments