0
0

概要

Azure Data Factory にて Salesforce のアクセストークンを無効にする方法を共有します。

手順

Azure Data Facotry にてアクセストークンを取得するようなパイプラインを作成

image.png

アクセストークンを無効化(Revoke)する web アクティビティを追加

アクティビティの定義
{
    "name": "RevokeToken",
    "type": "WebActivity",
    "dependsOn": [
        {
            "activity": "ForEach1",
            "dependencyConditions": [
                "Succeeded"
            ]
        }
    ],
    "policy": {
        "timeout": "0.12:00:00",
        "retry": 0,
        "retryIntervalInSeconds": 30,
        "secureOutput": false,
        "secureInput": false
    },
    "userProperties": [],
    "typeProperties": {
        "method": "POST",
        "headers": {
            "Content-Type": "application/x-www-form-urlencoded"
        },
        "url": "https://login.salesforce.com/services/oauth2/revoke",
        "body": {
            "value": "@concat(\n    'token=',\n    activity('GetToken').output.access_token\n)\n",
            "type": "Expression"
        }
    }
}

image.png

パイプラインを実行して正常終了することを確認

image.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0