@@ -75,8 +75,8 @@ shared:
7575 apple :
7676 # Token auth params
7777 # See https://developer.apple.com/documentation/usernotifications/establishing-a-token-based-connection-to-apns
78- key_id : your_key_id
79- encryption_key : your_apple_encryption_key
78+ key_id : <%= Rails.application.credentials.dig(:action_push_native, :apns, :key_id) %>
79+ encryption_key : <%= Rails.application.credentials.dig(:action_push_native, :apns, :encryption_key) %>
8080
8181 team_id : your_apple_team_id
8282 # Your identifier found on https://developer.apple.com/account/resources/identifiers/list
@@ -85,7 +85,7 @@ shared:
8585 google :
8686 # Your Firebase project service account credentials
8787 # See https://firebase.google.com/docs/cloud-messaging/auth-server
88- encryption_key : your_service_account_json_file
88+ encryption_key : <%= Rails.application.credentials.dig(:action_push_native, :fcm, :encryption_key) %>
8989
9090 # Firebase project_id
9191 project_id : your_project_id
@@ -130,32 +130,32 @@ shared:
130130 calendar:
131131 # Token auth params
132132 # See https://developer.apple.com/documentation/usernotifications/establishing-a-token-based-connection-to-apns
133- key_id: calendar_key_id
134- encryption_key: calendar_apple_encryption_key
133+ key_id: <%= Rails.application.credentials.dig(:action_push_native, :apns, :calendar, :key_id) % >
134+ encryption_key: <%= Rails.application.credentials.dig(:action_push_native, :apns, :calendar, :encryption_key) % >
135135 # Your identifier found on https://developer.apple.com/account/resources/identifiers/list
136136 topic: calendar.bundle.identifier
137137
138138 email:
139139 # Token auth params
140140 # See https://developer.apple.com/documentation/usernotifications/establishing-a-token-based-connection-to-apns
141- key_id: email_key_id
142- encryption_key: email_apple_encryption_key
141+ key_id: <%= Rails.application.credentials.dig(:action_push_native, :apns, :email, :key_id) % >
142+ encryption_key: <%= Rails.application.credentials.dig(:action_push_native, :apns, :email, :encryption_key) % >
143143 # Your identifier found on https://developer.apple.com/account/resources/identifiers/list
144144 topic: email.bundle.identifier
145145
146146 google:
147147 calendar:
148148 # Your Firebase project service account credentials
149149 # See https://firebase.google.com/docs/cloud-messaging/auth-server
150- encryption_key: calendar_service_account_json_file
150+ encryption_key: <%= Rails.application.credentials.dig(:action_push_native, :fcm, :calendar, :encryption_key) % >
151151
152152 # Firebase project_id
153153 project_id: calendar_project_id
154154
155155 email:
156156 # Your Firebase project service account credentials
157157 # See https://firebase.google.com/docs/cloud-messaging/auth-server
158- encryption_key: email_service_account_json_file
158+ encryption_key: <%= Rails.application.credentials.dig(:action_push_native, :fcm, :email, :encryption_key) % >
159159
160160 # Firebase project_id
161161 project_id: email_project_id
0 commit comments