How to encrypt using CERT

how to get auth token and encrypt using CERT api
/v1/auth/cert