function_secrets
Creates, updates, deletes, gets or lists a function_secrets resource.
Overview​
| Name | function_secrets |
| Type | Resource |
| Id | nvidia.nvcf_functions.function_secrets |
Fields​
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
update | update | function_id, version_id, secrets | Updates secrets for the specified function version. This endpoint requires a bearer token with 'update_secrets' scope in the HTTP Authorization header. |
Parameters​
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
function_id | string (uuid) | Function Id |
version_id | string (uuid) | Function Version Id |
UPDATE examples​
- update
Updates secrets for the specified function version. This endpoint requires a bearer token with 'update_secrets' scope in the HTTP Authorization header.
UPDATE nvidia.nvcf_functions.function_secrets
SET
secrets = '{{ secrets }}'
WHERE
function_id = '{{ function_id }}' --required
AND version_id = '{{ version_id }}' --required
AND secrets = '{{ secrets }}' --required;