envs

OneSignal — push notifications

onesignal/push · version 1

envs add onesignal/push

This declares the keys below in your catalog and sets none of them. A template is a schema for keys; it never carries a value.

Key Needed Kind Notes
ONESIGNAL_APP_ID required config OneSignal says the App ID is safe to use in client-side SDK initialisation and is not a secret, calling it and the Organization ID public identifiers. The variable name is convention.. where to get it
ONESIGNAL_API_KEY required secret OneSignal says App and Organization API keys are private secrets, never to be exposed in client code or committed to a public repository.. where to get it
ONESIGNAL_ORG_API_KEY optional secret Reaches every app in the organisation, so OneSignal asks for extra care and says to share it only with services that need that reach.. where to get it

The JSON the CLI reads