Secret.Item.prototype.get_secret
function get_secret(): Secret.Value {
// Gjs wrapper for secret_item_get_secret()
}
Get the secret value of this item. If this item is locked or the secret has not yet been loaded then this will return null.
To load the secret call the Secret.Item.prototype.load_secret method.
- Returns
the secret value which should be released with Secret.Value.prototype.unref, or null