You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The APNS p8 token has to be supplied in form of a .p8 file. That makes it more difficult to store as a secured string (e.g. using AWS Secrets Manager) but may make it more tempting for beginners to commit the private key as part of source code to their repository, which is bad practice.
Feature / Enhancement Description
Currently the token key is specified via a file path:
or, to avoid a new parameter, the adapter could interpret a key value that starts with -----BEGIN PRIVATE KEY---- and ends with -----END PRIVATE KEY----- not as a file path but as the key itself. So key can either be a file path or the key itself.
Example Use Case
n/a
Alternatives / Workarounds
Save the securely stored private key as a file on deployment, which may be unwanted in some scenarios.
3rd Party References
n/a
The text was updated successfully, but these errors were encountered:
New Feature / Enhancement Checklist
Current Limitation
The APNS p8 token has to be supplied in form of a .p8 file. That makes it more difficult to store as a secured string (e.g. using AWS Secrets Manager) but may make it more tempting for beginners to commit the private key as part of source code to their repository, which is bad practice.
Feature / Enhancement Description
Currently the token key is specified via a file path:
To avoid a breaking change an additional param could be introduced that allows to supply the key as string:
or, to avoid a new parameter, the adapter could interpret a
key
value that starts with-----BEGIN PRIVATE KEY----
and ends with-----END PRIVATE KEY-----
not as a file path but as the key itself. Sokey
can either be a file path or the key itself.Example Use Case
n/a
Alternatives / Workarounds
Save the securely stored private key as a file on deployment, which may be unwanted in some scenarios.
3rd Party References
n/a
The text was updated successfully, but these errors were encountered: