Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex Cloud Notification Service
    • Overview
    • Getting started with mobile push notifications
    • Getting started with in-browser push notifications
    • Getting started with SMS
    • All guides
      • Creating a push notification channel
      • Updating a push notification channel
      • Deleting a push notification channel
      • Creating an endpoint
      • Updating an endpoint
      • Deleting an endpoint
      • Sending a push notification
    • Configuring logging
    • Overview
    • Mobile push notifications
    • In-browser push notifications
    • SMS
    • Quotas and limits
    • All tools
    • AWS CLI
    • AWS SDK for C++
    • AWS SDK for Go
    • AWS SDK for Java
    • AWS SDK for JavaScript
    • AWS SDK for Kotlin
    • AWS SDK for .NET
    • AWS SDK for PHP
    • AWS SDK for Python (boto3)
  • Pricing policy
  • Monitoring metrics
  • Logs Cloud Logging
  • Release notes
  1. Step-by-step operations
  2. Mobile push notifications
  3. Updating a push notification channel

Updating a push notification channel

Written by
Yandex Cloud
Updated at April 17, 2025
Management console
AWS CLI
AWS SDK for Python
AWS SDK for PHP
API
  1. In the management console, go to the folder containing the notification channel.

  2. From the list of services, select Cloud Notification Service.

  3. Click next to the push notification channel and select Edit.

  4. On the Mobile Push notifications tab, edit the authentication parameters for your platform:

    Apple iOS

    • Select the Authentication method: Token or Certificate.

      • To authenticate with a token, you will need:

        • Signature key: File with the signature key that you will use to certify the authentication token.

          Create and download a signature key in your Apple developer account: Certificates, Identifiers & Profiles → Keys → . You can download the key file only once.

        • Key ID (Key ID): Get the ID in your Apple developer account: Certificates, Identifiers & Profiles → Keys. Make sure the ID matches the signature key you downloaded in the previous step. It must be 10 characters long.

        • Developer ID (Team ID): You can find it in the top-right corner of your Apple developer account. It must be 10 characters long and contain only numbers and Latin letters.

        • Bundle ID: Get the bundle ID in your Apple developer account: Certificates, Identifiers & Profiles → Identifiers or in the Xcode app: Target → General → Identity. It may contain only numbers, Latin letters, hyphens, and periods.

        Learn more about the token in the relevant Apple documentation.

      • To authenticate with a certificate, you will need:

        • Certificate: SSL certificate file in .pem format.
        • Private certificate key: Key file in .pem format.

        For more information about the certificate, see the Apple documentation.

        To save the certificate and the private key in individual .pem files, use the openssl Linux utility:

        openssl pkcs12 -in Certificates.p12 -nokeys -nodes -out certificate.pem
        openssl pkcs12 -in Certificates.p12 -nocerts -nodes -out privatekey.pem
        

      Token-based authentication is preferred as a faster, more modern and secure option.

    • Select the Environment: Development or Production. Use Development to test the application.

    Google Android

    Specify which FCM API version will be used: HTTP v1 or Legacy.

    You can authenticate with FCM using the API:

    • HTTP v1 API: You will need a Google Cloud service account key in JSON format. The key is used to generate OAuth 2.0 temporary tokens for authenticating requests in the FCM HTTP v1 API. You can get it in the Google Cloud management console.
    • Legacy API: You will need an API key (server key). You can get it in the Firebase management console.

    Note

    FCM no longer supports the legacy API starting June 2024.

    See more in the Firebase documentation.

    Huawei Android

    Explore the HMS documentation and get the authentication parameters:

    • Key ID.
    • API key.

    RuStore Android

    See the relevant RuStore article and get the authentication parameters:

    • Project ID.
    • Service token.

    You can get your authentication parameters in the RuStore developer console: Push notifications → Projects.

  5. Click Add description and enter a description for your notification channel.

  6. Click Save.

  1. If you do not have the AWS CLI yet, install and configure it.

  2. Run this command:

    aws sns set-platform-application-attributes \
      --platform-application-arn <notification_channel_ARN> \
      --attributes <parameter1>=<new_value1>, ... <parameterN>=<new_valueN>
    

    Where:

    • --platform-application-arn: Notification channel ID (ARN).
    • --attributes: Comma-separated notification channel parameters you want to update, in <parameter1>=<new_value1> format.

    For more information about the aws sns set-platform-application-attributes command, see the AWS documentation.

  1. If you do not have the AWS SDK for Python (boto3) yet, install and configure it.

  2. To update a push notification channel, use the following code:

    response = client.set_platform_application_attributes(
        PlatformApplicationArn="<notification_channel_ARN>",
        Attributes={
            "<parameter1>": "<new_value1>",
            ...
            "<parameterN>": "<new_valueN>"
        }
    )
    print("Attributes updated successfully.")
    

    Where:

    • PlatformApplicationArn: Notification channel ID (ARN).
    • Attributes: Comma-separated parameters you want to update, in "<parameterN>": "<new_valueN>" format.
  1. If you do not have the AWS SDK for PHP yet, install and configure it.

  2. To update a push notification channel, use the following code:

    $response = $client->setPlatformApplicationAttributes([
        'PlatformApplicationArn' => '<notification_channel_ARN>',
        'Attributes' => [
            '<parameter1>' => '<new_value1>',
            ...
            '<parameterN>' => '<new_valueN>'
        ],
    ]);
    
    echo "Platform application attributes updated successfully.\n";
    

    Where:

    • PlatformApplicationArn: Notification channel ID (ARN).
    • Attributes: Comma-separated parameters you want to update, in '<parameter>' => '<new_value>' format.

Use the setAttributes HTTP API method for the PlatformApplications resource in Yandex Cloud Notification Service.

Updating a notification channel may take some time.

Was the article helpful?

Previous
Creating a push notification channel
Next
Deleting a push notification channel
© 2025 Direct Cursus Technology L.L.C.