Manage delegate permissions for your vault. Only the vault owner can grant or revoke delegate permissions.
For more information on the access control framework, see Access Control.
List Delegates
List all delegates and their permissions for the active vault.
Grant Permissions
Grant delegate permissions for a specific protocol.
pubkey: Public key of the delegate
permissions...: Space-separated list of permission names
--protocol: Protocol name (required). Examples: KaminoLend, SplToken, JupiterSwap
Example: Grant a delegate permission to deposit and withdraw on Kamino Lending:
Run glam-cli delegate grant -h to see the full list of available permissions for each protocol.
Revoke Permissions
Revoke specific delegate permissions for a protocol.
pubkey: Public key of the delegate
permissions...: Space-separated list of permission names to revoke
--protocol: Protocol name (required)
Example: Revoke deposit permission from a delegate:
Revoke All Permissions
Completely remove a delegate’s access to the vault.