Skip to main content

encryption_keys

Creates, updates, deletes, gets or lists an encryption_keys resource.

Overview​

Nameencryption_keys
TypeResource
Idnvidia.private_registry.encryption_keys

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringName of the artifact
display_namestringDisplay name of the artifact (wire: displayName)
artifact_typestringArtifact type (MODEL, MODEL_SCRIPT, HELM_CHART, REPOSITORY, COLLECTION, ENDPOINT, BLUEPRINT, PLAYBOOK, AGENT, API, SKILL) (wire: artifactType)
descriptionstringDescription of the artifact

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_by_teamselectteam_name, key_idartifact_typeList artifacts for encryption key in org/team
getselectkey_idartifact_typeList artifacts for encryption key in org
list_by_teamselectteam_nameList encryption keys in org/team
listselectList encryption keys in org
delete_by_teamdeleteteam_name, key_idRevoke encryption key and disassociate from all artifacts in org/team
deletedeletekey_idRevoke encryption key and disassociate from all artifacts in org

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
key_idstring (UTF-8)Key ID
team_namestring (UTF-8)Team name
artifact_typestring (UTF-8)Artifact type
artifact_typestring (UTF-8)Artifact type (wire: artifactType)

SELECT examples​

List artifacts for encryption key in org/team

SELECT
name,
display_name,
artifact_type,
description
FROM nvidia.private_registry.encryption_keys
WHERE team_name = '{{ team_name }}' -- required
AND key_id = '{{ key_id }}' -- required
AND artifact_type = '{{ artifact_type }}'
;

DELETE examples​

Revoke encryption key and disassociate from all artifacts in org/team

DELETE FROM nvidia.private_registry.encryption_keys
WHERE team_name = '{{ team_name }}' --required
AND key_id = '{{ key_id }}' --required
;