libnvmf_update_key(9) libnvme API manual libnvmf_update_key(9) NAME libnvmf_update_key - Update key raw data SYNOPSIS int libnvmf_update_key (struct libnvme_global_ctx *ctx , long keyring_id , const char *key_type , const char *identity , unsigned char *key_data , int key_len , long *key ); ARGUMENTS ctx struct libnvme_global_ctx object keyring_id Id of the keyring holding key_id key_type Type of the key to insert identity Key identity string key_data Raw data of the key key_len Length of key_data key Key serial to return DESCRIPTION Links the keyring specified by keyring_id into the session keyring and updates the key reference by identity with key_data. The old key with identity identity will be revoked to make it inaccessible. RETURN 0 on success, negative error code otherwise. October 2026 libnvmf_update_key libnvmf_update_key(9)