File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -299,6 +299,7 @@ incorrectNameFormat = "Name argument cannot contain a slash"
299299invalidSecondArgType = " Invalid argument type for second parameter"
300300
301301[functions .secret ]
302+ description = " Retrieves a secret from a vault"
302303notString = " Parameter secret name is not a string"
303304multipleSecrets = " Multiple secrets with the same name '%{name}' and different values was returned, try specifying a vault"
304305extensionReturnedError = " Extension '%{extension}': %{error}"
Original file line number Diff line number Diff line change @@ -18,6 +18,14 @@ impl Function for Secret {
1818 vec ! [ AcceptedArgKind :: String ]
1919 }
2020
21+ fn description ( & self ) -> String {
22+ t ! ( "functions.secret.description" ) . to_string ( )
23+ }
24+
25+ fn category ( & self ) -> super :: FunctionCategory {
26+ super :: FunctionCategory :: System
27+ }
28+
2129 fn min_args ( & self ) -> usize {
2230 1
2331 }
You can’t perform that action at this time.
0 commit comments