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);
1414
1515var keyValue = keyRef .Latest ().Access ();
1616
17- keyValue .ValueText ;
17+ keyValue .Value ;
1818
1919Application .Run ();
2020```
@@ -31,7 +31,7 @@ var keyRef = Application.Secret("apikey").Allow(SecretPermission.Access);
3131
3232var keyValue = keyRef .Latest ().Access ();
3333
34- keyValue .ValueText ;
34+ keyValue .Value ;
3535
3636Application .Run ();
3737```
@@ -46,7 +46,7 @@ var keyRef = Application.Secret("apikey").Allow(SecretPermission.Access);
4646
4747var keyValue = keyRef .Version (" the-version-id" ).Access ();
4848
49- keyValue .ValueText ;
49+ keyValue .Value ;
5050
5151Application .Run ();
5252```
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ var keyRef = Application.Secret("encryptionKey").With(SecretPermission.Accessing
5050
5151var keyVersionRef = keyRef .Version (" the-version-id" ).Access ();
5252
53- var keyValue = keyVersionRef .ValueText ;
53+ var keyValue = keyVersionRef .Value ;
5454
5555Application .Run ();
5656```
You can’t perform that action at this time.
0 commit comments