Event Notifications に対する IAM アクセスの管理
Event Notifications および IBM Cloud® Identity and Access Management を使用すると、IBM Cloud Identity and Access Management (IAM) アカウント所有者は、アカウント内のユーザー・アクセス権限を管理できます。
アカウント所有者は、アカウント内にポリシーを設定して、さまざまなユーザー用にさまざまなレベルのアクセス権限を作成できます。 例えば、特定のユーザーは、あるインスタンスに対してはRead only
アクセス権限を持ち、別のインスタンスに対してはWrite
アクセス権限を持つことができます。 どのユーザーに Event Notifications のインスタンスの作成、更新、削除を許可するかを決定することができます。
Event Notifications サービスは IAM を採用したため、新規インスタンスのアプリ・シークレットは生成されません。 代わりに、代わりに API キーを使用する必要があります。
ユーザーの役割
アクセス・ポリシーのスコープは、ユーザーの割り当てられた役割に基づきます。
ポリシーでは、さまざまなレベルのアクセス権限を付与できます。 いくつかのオプションを以下に示します。
- アカウント内のすべてのサービス・インスタンスに対するアクセス権限
- 自分のアカウント内の個別のサービス・インスタンスへのアクセス
- インスタンス内の特定のリソースに対するアクセス権限
- アカウント内のすべての IAM 対応サービスに対するアクセス権限
ユーザーは、プラットフォーム管理役割を使用して、プラットフォーム・レベルでサービス・リソースに対するタスクを実行できます。 例えば、役割を割り当てることにより、ID の作成や削除、インスタンスの作成、アプリへのインスタンスのバインドを実行できるユーザーを決定できます。 以下の表に、プラットフォーム管理役割に割り当てられているアクションを分類して示します。
プラットフォーム役割 | 権限 | アクション例 |
---|---|---|
ビューアー | Event Notifications インスタンスの表示。 | クラウド・ディレクトリー・ユーザーのデータや ID プロバイダーの構成を表示できます。 |
エディター | Event Notifications インスタンスの表示およびバインド。 | アプリケーションを Event Notifications のインスタンスにバインドできます。 |
オペレーター | Event Notifications インスタンスの作成、削除、編集、一時停止、再開、表示、またはバインド。 | カタログから Event Notifications インスタンスを作成したり削除したりすることができます。 |
管理者 | アカウント内のすべてのサービスに対するすべての管理アクション。 | すべてのオペレーター・アクション、および他のユーザーにポリシーを割り当てる機能を実行できます。 |
次の表は、サービス・アクセス役割にマップされたアクションについて詳しく示しています。 サービス・アクセス役割を持つユーザーは、Event Notifications にアクセスできるほか、Event Notifications API を呼び出すこともできます。
サービス役割 | 権限 | アクション例 |
---|---|---|
リーダー | Event Notifications インスタンス・データの表示 | ソース、ルール、トピック、およびチャネルなどのサービス・インスタンス詳細の表示 |
ライター | Event Notifications インスタンスの表示および編集 |
|
Channel Editor | Event Notifications サブスクリプションの表示、作成、および削除 | Event Notifications サブスクリプションの表示、作成、更新、および削除 |
マネージャー | Event Notifications インスタンスにおけるデータの表示、編集、および削除 |
|
サービス構成リーダー | ガバナンス管理のためのサービス構成の読み取り | サービス構成の表示 |
Event Source Manager | サービス間許可を使用した Event Notifications とのソース統合 |
|
Event Notifications パブリッシャー | 通知の作成および通知カウントの表示 | 通知の送信および通知カウントの表示 |
デバイス・マネージャー | Event Notifications サービスへのプッシュ・デバイス登録を処理するためのカスタム役割 |
|
UI でユーザー役割を割り当てる方法について詳しくは、IAM アクセス権限の管理を参照してください。
Event Notifications アクセス・ポリシー
ご使用のアカウント内の Event Notifications サービスにアクセスするすべてのユーザーには、IAM ユーザー役割が定義されたアクセス・ポリシーを割り当てる必要があります。 そのポリシーにより、選択したサービスまたはインスタンスのコンテキスト内でユーザーが実行できるアクションが決まります。
アクションは、IBM Cloud サービスで許可された操作として、そのサービスでカスタマイズおよび定義されます。 その後、操作は IAM ユーザー役割にマップされます。 実行したアクションのいくつかは、Activity Tracker サービスを使用して追跡できます。 以下の表では、Event Notifications のアクションと必要な許可がマップされています。
サービス・アクション | 表示名 | ロール | 説明 |
---|---|---|---|
event-notifications.sources.create |
POST /event-notifications/v1/instances/{instanceID}/sources |
マネージャー、管理者、イベント・ソース・マネージャー | Event Notifications インスタンスのソースの作成 |
event-notifications.sources.read |
GET /event-notifications/v1/instances/{instanceID}/sources/{sourceID} |
マネージャー、管理者、イベント・ソース・マネージャー、チャネル・エディター | Event Notifications インスタンスのソースの取得 |
event-notifications.sources.update |
PUT /event-notifications/v1/instances/{instanceID}/sources/{sourceID} |
マネージャー、管理者、イベント・ソース・マネージャー | Event Notifications インスタンスのソースの更新 |
event-notifications.sources.delete |
DELETE /event-notifications/v1/instances/{instanceID}/sources/{sourceID} |
マネージャー、管理者、イベント・ソース・マネージャー | Event Notifications インスタンスからのソースの削除 |
event-notifications.sources.list |
GET /event-notifications/v1/instances/{instanceID}/sources |
マネージャー、管理者、イベント・ソース・マネージャー、チャネル・エディター | Event Notifications インスタンスのすべてのソースの取得 |
event-notifications.topics.create |
POST /event-notifications/v1/instances/{instanceID}/topics |
マネージャー、ライター、管理者 | Event Notifications インスタンスのトピックの作成 |
event-notifications.topics.read |
GET /event-notifications/v1/instances/{instanceID}/topics/{topicID} |
マネージャー、リーダー、ライター、管理者、チャネル・エディター | Event Notifications インスタンスのトピックの取得 |
event-notifications.topics.update |
PUT /event-notifications/v1/instances/{instanceID}/topic/{topicID} |
マネージャー、ライター、管理者 | Event Notifications インスタンスのトピックの更新 |
event-notifications.topics.delete |
DELETE /event-notifications/v1/instances/{instanceID}/topic/{topicID} |
マネージャー、管理者 | Event Notifications インスタンスからのトピックの削除 |
event-notifications.topics.list |
GET /event-notifications/v1/instances/{instanceID}/topics |
マネージャー、リーダー、ライター、管理者、チャネル・エディター | Event Notifications インスタンスのすべてのトピックの取得 |
event-notifications.rules.create |
POST /event-notifications/v1/instances/{instanceID}/rules |
マネージャー、ライター、管理者 | Event Notifications インスタンスのルールの作成 |
event-notifications.rules.read |
GET /event-notifications/v1/instances/{instanceID}/rules/{ruleID} |
マネージャー、リーダー、ライター、管理者、チャネル・エディター | Event Notifications インスタンスのルールの取得 |
event-notifications.rules.update |
PUT /event-notifications/v1/instances/{instanceID}/rules/{ruleID} |
マネージャー、ライター、管理者 | Event Notifications インスタンスのルールの更新 |
event-notifications.rules.delete |
DELETE /event-notifications/v1/instances/{instanceID}/rules/{ruleID} |
マネージャー、管理者 | Event Notifications インスタンスからのルールの削除 |
event-notifications.rules.list |
GET /event-notifications/v1/instances/{instanceID}/rules |
マネージャー、リーダー、ライター、管理者、チャネル・エディター | Event Notifications インスタンスのすべてのルールの取得 |
event-notifications.destinations.create |
POST /event-notifications/v1/instances/{instanceID}/destinations |
マネージャー、ライター、管理者 | Event Notifications インスタンスの宛先の作成 |
event-notifications.destinations.read |
GET /event-notifications/v1/instances/{instanceID}/destinations/{destinationID} |
マネージャー、リーダー、ライター、管理者、チャネル・エディター | Event Notifications インスタンスの宛先の取得 |
event-notifications.destinations.update |
PUT /event-notifications/v1/instances/{instanceID}/destinations/{destinationID} |
マネージャー、ライター、管理者 | Event Notifications インスタンスの宛先の更新 |
event-notifications.destinations.delete |
DELETE /event-notifications/v1/instances/{instanceID}/destinations/{destinationID} |
マネージャー、管理者 | Event Notifications インスタンスからの宛先の削除 |
event-notifications.destinations.list |
GET /event-notifications/v1/instances/{instanceID}/destinations |
マネージャー、リーダー、ライター、管理者、チャネル・エディター | Event Notifications インスタンスのすべての宛先の取得 |
event-notifications.subscriptions.create |
POST /event-notifications/v1/instances/{instanceID}/subscriptions |
マネージャー、ライター、管理者、チャネル・エディター | Event Notifications インスタンスのサブスクリプションの作成 |
event-notifications.subscriptions.read |
GET /event-notifications/v1/instances/{instanceID}/subscriptions/{subscriptionID} |
マネージャー、リーダー、ライター、管理者、チャネル・エディター | Event Notifications インスタンスのサブスクリプションの取得 |
event-notifications.subscriptions.update |
PUT /event-notifications/v1/instances/{instanceID}/subscriptions/{subscriptionID} |
マネージャー、ライター、管理者、チャネル・エディター | Event Notifications インスタンスのサブスクリプションの更新 |
event-notifications.subscriptions.delete |
DELETE /event-notifications/v1/instances/{instanceID}/subscriptions/{subscriptionID} |
マネージャー、管理者、チャネル・エディター | Event Notifications インスタンスからのサブスクリプションの削除 |
event-notifications.subscriptions.list |
GET /event-notifications/v1/instances/{instanceID}/subscriptions |
マネージャー、リーダー、ライター、管理者、チャネル・エディター | Event Notifications インスタンスのすべてのサブスクリプションの取得 |
event-notifications.notifications.post |
POST /event-notifications/v1/instances/{{instance_id}}/notifications |
マネージャー、ライター、管理者、イベント・ソース・マネージャー、イベント通知パブリッシャー | Event Notifications インスタンスへの通知の送信 |
event-notifications.counts.get |
GET /event-notifications/v1/instances/{instanceID}/counts |
マネージャー、リーダー、イベント・ソース・マネージャー、チャネル・エディター、イベント通知パブリッシャー | Event Notifications インスタンスのすべての通知の取得 |
event-notifications.events.create |
GET /event-notifications/v1/instances/{instanceID}/events/{eventID}?sourceID=* |
マネージャー、管理者、イベント・ソース・マネージャー | Event Notifications インスタンスのイベントの取得 |
event-notifications.events.read |
POST /event-notifications/v1/instances/{instanceID}/sources |
マネージャー、管理者、イベント・ソース・マネージャー | |
event-notifications.events.list |
GET /event-notifications/v1/instances/{instanceID}/events?sourceID=* |
マネージャー、管理者、イベント・ソース・マネージャー | Event Notifications インスタンスのすべてのイベントの取得 |
event-notifications.events.delete |
DELETE /event-notifications/v1/instances/{instanceID}/events/{eventID}?sourceID=* |
マネージャー、管理者、イベント・ソース・マネージャー | Event Notifications インスタンスからのイベントの削除 |
event-notifications.publickey.read |
GET /event-notifications/v1/instances/{instanceID}/destinations/{destinationID}/public_key |
マネージャー、リーダー、ライター、管理者、チャネル・エディター | Webhook の署名に使用される公開鍵の読み取り |
event-notifications.severities.create |
POST /event-notifications/v1/instances/{instanceID}/severities |
イベント・ソース・マネージャー | カスタム重大度の作成 |
event-notifications.severities.read |
GET /event-notifications/v1/instances/{instanceID}/severities/{severity_id}?sourceID=* |
イベント・ソース・マネージャー | ソースに基づく重大度の取得 |
event-notifications.severities.list |
GET /event-notifications/v1/instances/{instanceID}/severities?sourceID=* |
マネージャー、リーダー、管理者、イベント・ソース・マネージャー | ソースに基づくすべての重大度の取得 |
event-notifications.severities.delete |
DELETE /event-notifications/v1/instances/{instanceID}/severities/{severity_id}?sourceID=* |
イベント・ソース・マネージャー | ソースに基づく重大度の削除 |
event-notifications.email-status.create |
POST /event-notifications/v1/instances/{instanceID}/email-status/sources/{sourceID}/notifications/{notificationID} |
ステータス・レポーター | ディスパッチされた E メールの現在の状況の作成/更新 |
event-notifications.sms-status.create |
POST /event-notifications/v1/instances/{instanceID}/sms-status/sources/{sourceID}/notifications/{notificationID} |
ステータス・レポーター | ディスパッチされた SMS の現在の状況の作成/更新 |
event-notifications.webhook-status.create |
POST /event-notifications/v1/instances/{instanceID}/webhook-status/sources/{sourceID}/notifications/{notificationID} |
ステータス・レポーター | ディスパッチされた Webhook の現在の状況の作成/更新 |
event-notifications.devices.create |
POST /event-notifications/v1/instances/{instanceID}/destinations/{id}/devices |
マネージャー、管理者、デバイス・マネージャー | プッシュ通知 FCM 宛先の下のデバイスの作成 |
event-notifications.devices.read |
GET /event-notifications/v1/instances/{instanceID}/destinations/{id}/devices/{device_id} |
マネージャー、管理者、デバイス・マネージャー | プッシュ通知 FCM 宛先の下の単一デバイスの取得 |
event-notifications.devices.list |
GET /event-notifications/v1/instances/{instanceID}/destinations/{id}/devices |
マネージャー、管理者、デバイス・マネージャー | プッシュ通知 FCM 宛先の下のすべてのデバイスの作成 |
event-notifications.devices.update |
PUT /event-notifications/v1/instances/{instanceID}/destinations/{id}/devices/{device_id} |
マネージャー、管理者、デバイス・マネージャー | プッシュ通知 FCM 宛先の下の既存のデバイスの更新 |
event-notifications.devices.delete |
POST /event-notifications/v1/instances/{instanceID}/destinations/{id}/devices/{device_id} |
マネージャー、管理者、デバイス・マネージャー | プッシュ通知 FCM 宛先の下にある既存のデバイスの削除 |
event-notifications.tag-subscriptions.list |
GET /event-notifications/v1/instances/{instanceID}/destinations/{id}/tag_subscriptions |
マネージャー、管理者 | プッシュ DCM 宛先の下にあるすべてのサブスクリプションのリスト |
event-notifications.tag-subscriptions.devices.list |
GET /event-notifications/v1/instances/{instanceID}/destinations/{id}/tag_subscriptions/devices/{device_id} |
マネージャー、管理者、デバイス・マネージャー | プッシュ通知 FCM 宛先の下のタグ・サブスクリプションからの単一デバイスの取得 |
event-notifications.tag-subscriptions.create |
POST /event-notifications/v1/instances/{instanceID}/destinations/{id}/tag_subscriptions |
マネージャー、管理者、デバイス・マネージャー | プッシュ通知 FCM 宛先の下のタグ・サブスクリプションの作成 |
event-notifications.tag-subscriptions.delete |
DELETE /event-notifications/v1/instances/{instanceID}/destinations/{id}/tag_subscriptions |
マネージャー、管理者、デバイス・マネージャー | プッシュ通知 FCM 宛先の下のタグ・サブスクリプションの削除 |
event-notifications.channel-groups.create |
POST /event-notifications/v1/instances/{instance_id}/destinations/{id}/fcm_channel_groups |
マネージャー、管理者、デバイス・マネージャー | プッシュ通知 FCM 宛先の下のチャネル・グループの作成 |
event-notifications.channel-groups.read |
POST /event-notifications/v1/instances/{instance_id}/destinations/{id}/fcm_channel_groups/{group_id} |
マネージャー、管理者、デバイス・マネージャー | プッシュ通知 FCM 宛先の下の新規チャネル・グループの取得 |
event-notifications.channel-groups.list |
GET /event-notifications/v1/instances/{instance_id}/destinations/{id}/fcm_channel_groups |
マネージャー、管理者、デバイス・マネージャー | プッシュ通知 FCM 宛先の下にあるすべてのチャネル・グループのリスト |
event-notifications.channel-groups.update |
PUT /event-notifications/v1/instances/{instance_id}/destinations/{id}/fcmChannelGroups/{group_id} |
マネージャー、管理者、デバイス・マネージャー | プッシュ通知 FCM 宛先の下の既存のチャネル・グループの更新 |
event-notifications.channel-groups.delete |
DELETE /event-notifications/v1/instances/{instance_id}/destinations/{id}/fcm_channel_groups/{group_id} |
マネージャー、管理者 | プッシュ通知 FCM 宛先の下の既存のチャネル・グループの削除 |
event-notifications.integrations.list |
GET /event-notifications/v1/instances/{instance_id}/integrations |
マネージャー、管理者、デバイス・マネージャー | すべての鍵管理サービス統合をリストします |
event-notifications.integrations.read |
GET /event-notifications/v1/instances/{instance_id}/integrations/{id} |
マネージャー、管理者、デバイス・マネージャー | 単一の鍵管理サービス統合の取得 |
event-notifications.integrations.update |
PUT /event-notifications/v1/instances/{instance_id}/integrations/{id} |
マネージャー、管理者、デバイス・マネージャー | 既存の鍵管理サービス統合の更新 |
API キーの処理
サービス資格情報の作成時、apiKey
ではなく appSecret
が表示されていることがわかります。
REST API を使用するには、以下の cURL コマンドを使用してアクセス・トークンを生成する必要があります。
パラメーター
curl -k -X POST \
--header "Content-Type: application/x-www-form-urlencoded" \
--header "Accept: application/json" \
--data-urlencode "grant_type=urn:ibm:params:oauth:grant-type:apikey" \
--data-urlencode "apikey=G2c7oaUuOjul1RbmbjAeI7YwJSUCW_hmfif3GhLabYPE" \
"https://iam.cloud.ibm.com/identity/token"
応答
{
"access_token": "eyJraWQiOiIyMDE3MTAzMC0wMDowMDowMCIsImFsZyI6IlJTMjU2In0.eyJpYW1faWQiOiJpYW0tU2VydmljZUlkLTcwMTgzMDYwLWY3NWUtNGQ5Yy04NjY5LTA4NTNkYzc2NDQyMSIsImlkIjoiaWFtLVNlcnZpY2VJZC03MDE4MzA2MC1mNzVlLTRkOWMtODY2OS0wODUzZGM3NjQ0MjEiLCJyZWFsbWlkIjoiaWFtIiwiaWRlbnRpZmllciI6IlNlcnZpY2VJZC03MDE4MzA2MC1mNzVlLTRkOWMtODY2OS0wODUzZGM3NjQ0MjEiLCJzdWIiOiJTZXJ2aWNlSWQtNzAxODMwNjAtZjc1ZS00ZDljLTg2NjktMDg1M2RjNzY0NDIxIiwic3ViX3R5cGUiOiJTZXJ2aWNlSWQiLCJhY2NvdW50Ijp7ImJzcyI6IjJmZDIwM2E1M2Q5MDI1ZDI4NTU5YjZhZDFhM2JhMTNjIn0sImlhdCI6MTUzNDc2MDIwNywiZXhwIjoxNTM0NzYzODA3LCJpc3MiOiJodHRwczovL2lhbS5ibHVlbWl4Lm5ldC9pZGVudGl0eSIsImdyYW50X3R5cGUiOiJ1cm46aWJtOnBhcmFtczpvYXV0aDpncmFudC10eXBlOmFwaWtleSIsInNjb3BlIjoiaWJtIG9wZW5pZCIsImNsaWVudF9pZCI6ImltZnB1c2giLCJhY3IiOjEsImFtciI6WyJwd2QiXX0.MSUIk3KvFKeidTa4Qf9Ydf-7_boRwPRyigRjBkF0KWT2AVxeQ7oDVOgSEvApzy1tKSoi4N-bAIDpsOkd-BYnYtZnAFJxn9IGSnHli4YXOabLnLIuXbvYJBqCeAWVZoTiqQO6H7ZY__8Nf1YlfGms-iV4FFRPVAq1bx_9BylY1t2gq6WhTWciSGhoq5CHr_bdbc3qK6NRHDzvOfqBP5hDRDo9WAVFSSqtMJNttGR1Dj92jM0o9yADWe32WoVXbxMDX7VZ-wEAbvIJIW1ZcQPPKG9rfW57XOthZSWSbE4MxrUkoHvrBiGqcJfm_yV_mZD_Ynbm4yDSW4q0HbHOB1K7mg",
"refresh_token": "J1D6UZp3fEhxRdPCzhY4kvt7ojXIdUHjmO8x9pxGMgSZt0XpGd15F098WFKKUwp_v0pktQxdOZtcBGx3sL5THYUxU-PlkxELZ3gKX78dWf4P7lYDLDXR2x_n48fPIvRQoDD0ZJAKewO3o1IcegmNdf_InSgvu2M3Ra3FwlJPDN9mRH6-2e8pHnvq4e1rdY6pV0ufxweKc9dGqU-U7VU765BCg84kr8tkb9kpZnnPseDJ89gf5lhkZteKoNVkn-uiLUF0L-yv33tgtoDrdU5-FqaV00TUbLBoJEeTTnUD1fgIGB6SfphIImCQ0368gTU2emGBe3lzlQBnvkOXaMoBds3Nc2YL6px2LhqBWFd_ho68P4ahz1cbTn1rhqIjZMokeN88sreAKsRWhH7nVgBpfN3FS7OJBrVTx55j44vrZdH3vFJ-glLNb3FBwI6_6N_i2lVz7W-_W9xHW2CTYO7e3PYEZorQDBRZFIPImES6v7UV7YyaYG5ikktHHsOZsMzb6UYP-Kg1k2z_UTOumBkCDYxeV9GxukgSSK7Nckpysi5DJt4VgEnyxlbnfmWhtVeSzl8vjIBLJFE7oe7QDn3YyfCDP4QS4cIkTAvvpE5916pXk-rU9NLbIp6mmJw4PwY8__ao6CmCZJ4IDlr6GsDu4Ocn72yGgsNSwI-sq-dJyMuYG494CQ3MOooWsUjzhLTIHGsuHOkouMh07yR-v-D0dNrBeRmXM-JyF6BmtAS-rcivztjjbfJV3NNZcjC9RJvgf7OW5kp7dSRXMlohHu4tAxgVy16ON3Hm1TFnZt5jsaYLcwxuC6s2Qv7N4QEf2VIWLI5UWjbuj1IFi_Jq4RAkCCNgdvKo6RWaMbvZ8XL-3VKaDiJ60oy7wjGwZmWAWIFBZ1S3Br5waaT51T6mFV_s0VTu-68HhFpdIb1WFCXrU8DEcsamkUU7XRiTtBEIFNWQWnDDGMtn_vFGJCFygOd8CMsj",
"token_type": "Bearer",
"expires_in": 3600,
"expiration": 1534763807,
"scope": "ibm openid"
}
前述の curl コマンドを使用してアクセス・トークンを生成した後、許可ヘッダーでBearer <value of access_token>
を渡すことによって Rest API を操作します。
以下に例を示します。
curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'Authorization: Bearer eyJraWQiOiIyMDE3MTAzMC0wMDowMDowMCIsImFsZyI6IlJTMjU2In0.eyJpYW1faWQiOiJpYW0tU2VydmljZUlkLTYxZDdhNzJkLWM3YzAtNGNlZS05Zjg0LWI2ZDc1NzgzMWM2NSIsImlkIjoiaWFtLVNlcnZpY2VJZC02MWQ3YTcyZC1jN2MwLTRjZWUtOWY4NC1iNmQ3NTc4MzFjNjUiLCJyZWFsbWlkIjoiaWFtIiwiaWRlbnRpZmllciI6IlNlcnZpY2VJZC02MWQ3YTcyZC1jN2MwLTRjZWUtOWY4NC1iNmQ3NTc4MzFjNjUiLCJzdWIiOiJTZXJ2aWNlSWQtNjFkN2E3MmQtYzdjMC00Y2VlLTlmODQtYjZkNzU3ODMxYzY1Iiwic3ViX3R5cGUiOiJTZXJ2aWNlSWQiLCJhY2NvdW50Ijp7ImJzcyI6Ijk3MDg5MjkzNTg0OTg1NzBhYjYxMjUwNDk3ZjBmMDI2In0sImlhdCI6MTUzNTM2NTQ5MywiZXhwIjoxNTM1MzY5MDkzLCJpc3MiOiJodHRwczovL2lhbS5ibHVlbWl4Lm5ldC9pZGVudGl0eSIsImdyYW50X3R5cGUiOiJ1cm46aWJtOnBhcmFtczpvYXV0aDpncmFudC10eXBlOmFwaWtleSIsInNjb3BlIjoiaWJtIG9wZW5pZCIsImNsaWVudF9pZCI6ImRlZmF1bHQiLCJhY3IiOjEsImFtciI6WyJwd2QiXX0.ASKxD9Wrz5--OYVkPIsufKK9RNKKhJKuvRldm5mnGNv6PSH7sPBB6NiRG-SSGzEC0ZIei1WqtRE-0TRHwzSnIjXPb3yffBcvNtXuG9wT8GT8zsvxQ7bJk0ovge_0Xrrcym4cCTq2jO6ROWzOZ275wkH0h4fIzukbPv7YpT2Z-DdxIwHY_uALxqcCY83xODtMIs21PO6YwQ3KX4YfNEpKUminJpo45T8po4k049PODQKEK65YrqHYK1_voCJUu9xt9uVoGd-r962fhnbuxeEAe6di9KGVfOGfEdZFHgexoG__wXHa0Rmv9dCl-nNI4WMZfCTj8jgfEOhuZstpW7pW2g' --header 'Accept-Language: en-US' -d '{ \
"message": { \
"alert": "Notification alert message" \
} \
}' 'https://us-east.imfpush.cloud.ibm.com/imfpush/v1/apps/4809d407-85ff-4d11-ae4b-0fcdf8a833f1/messages'
IAM について詳しくは、 IAM アクセス権限を参照してください。