Skip to main content

function_secrets

Creates, updates, deletes, gets or lists a function_secrets resource.

Overview​

Namefunction_secrets
TypeResource
Idnvidia.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:

NameAccessible byRequired ParamsOptional ParamsDescription
updateupdatefunction_id, version_id, secretsUpdates 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.

NameDatatypeDescription
function_idstring (uuid)Function Id
version_idstring (uuid)Function Version Id

UPDATE examples​

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;