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.
glam-cli delegate list
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
glam-cli delegate grant <pubkey> <permissions...> --protocol <protocol_name> [--yes]
Example: Grant a delegate permission to deposit and withdraw on Kamino Lending:
glam-cli delegate grant Delegate111111111111111111111111 Deposit Withdraw --protocol KaminoLend
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