tokens
Creates, updates, deletes, gets or lists a tokens resource.
Overview​
| Name | tokens |
| Type | Resource |
| Id | nvidia.nvcf_invocation.tokens |
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 |
|---|---|---|---|---|
create_for_functions | exec | clientId, functions | Issues an assertion token from Notary Service for specified functionIds and/or functionVersionIds | |
create_for_function | exec | function_id, clientId | Issues an assertion token from Notary Service for a specific functionId and/or functionVersionId | |
create_for_version | exec | function_id, function_version_id, clientId | Issues an assertion token from Notary Service for a specific functionId and/or functionVersionId |
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_version_id | string (uuid) | Function version id |
Lifecycle Methods​
EXEC variables use wire (API) names.
- create_for_functions
- create_for_function
- create_for_version
Issues an assertion token from Notary Service for specified functionIds and/or functionVersionIds
EXEC nvidia.nvcf_invocation.tokens.create_for_functions
@@json=
'{
"clientId": "{{ clientId }}",
"functions": "{{ functions }}"
}'
;
Issues an assertion token from Notary Service for a specific functionId and/or functionVersionId
EXEC nvidia.nvcf_invocation.tokens.create_for_function
@function_id='{{ function_id }}' --required
@@json=
'{
"clientId": "{{ clientId }}"
}'
;
Issues an assertion token from Notary Service for a specific functionId and/or functionVersionId
EXEC nvidia.nvcf_invocation.tokens.create_for_version
@function_id='{{ function_id }}' --required,
@function_version_id='{{ function_version_id }}' --required
@@json=
'{
"clientId": "{{ clientId }}"
}'
;