在 Power BI Web 连接中,在哪里保存令牌? [英] Where do I save token in Power BI web connection?

查看:64
本文介绍了在 Power BI Web 连接中,在哪里保存令牌?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 Power BI 的新手,并开始使用来自 Web"数据源.效果很好.

I am new to Power BI, and starting to use the "From Web" data source. It works great.

但是我在哪里保存令牌,这样我就不必在每个网络连接中都以纯文本形式提供它们?

But where do I save tokens, so I don't have to provide them as plain-text in every web connection?

我似乎没有找到任何有关变量的文档来执行此操作.

I don't seem to find any documentation on variables to do this.

推荐答案

第一步是创建一个令牌参数:

First step is to create a token parameter:

现在打开高级编辑器,并从上面引用令牌参数:

Now open the Advanced Editor, and refrence the token param from above:

就我而言,标头部分使用不记名令牌模式:

In my case, the headers section uses the bearer token pattern:

[Headers=[Authorization="Bearer " & token]]

准备推出:)

这篇关于在 Power BI Web 连接中,在哪里保存令牌?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆