This example deploys a function which extracts information from a secret.
First, create a deployment file to provide credentials. Run inside the project directory:
faas-sdk init-values -y values.yamlUpdate the generated file. And finally, deploy the project as usual:
xfsrt-cli faas project deploy -y ./deploy/values.yaml -vThe output received after executing the deployment step contains the trigger URL.
Invoke the function hello-secret via invoking the HTTP trigger URL.
The returned function output should be identical to the value specified in values.yaml under secret-values->sec1->rv.json->Info->Success
Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file.