Secret.Value.prototype.get

function get(): [return_value: ByteArray, length: Number(gsize)] {
    // Gjs wrapper for secret_value_get()
}
  

Get the secret data in the Secret.Value. The value is not necessarily null-terminated unless it was created with Secret.Value.new or a null-terminated string was passed to Secret.Value.new_full.

return_value

the secret data

length

the length of the secret