Hi, we are in the process of migrating to the app tokens from the API Keys. In our CI/CD pipeline we leverage the hubspot.config.yml file and were previously using the API Key. We do some string replacements wtih the values on build. How do we use an app token (Bearer token) in the config file. Please advise if this is not an expected use case and how this should be handled.
Hi @LaShawnta ,
This is how my hubspot.config.yml looks:
defaultPortal: <NAME>
portals:
- name: <NAME>
portalId: <PORTAL_ID>
authType: personalaccesskey
auth:
tokenInfo:
accessToken: >-
<ACCESS_TOKEN>
expiresAt: <EXPIRES_AT>
personalAccessKey: >-
<PERSONAL_ACCESS_KEY>
Hope this helps!