Where should I use the secret key? Craig Conover November 19, 2020 13:35 Updated The Secret Key should only be used on a secure server since it's tasked with authorizing read/write access to channels. The Secret Key is used in the PUBNUB. init (or constructor) call once to initialize the SDK on the authorization server. Related articles Which SDKs support PubNub Access Manager?