duanci19881003
2019-02-26 07:01
浏览 67
已采纳

是否可以将OAuth 2.0用于Alexa for Business?

I'm using the Alexa for Business (A4B) API successfully with an Access Key ID and Secret Access Key with the AlexaForBusinessFullAccess IAM policy. However, I'm interested in building an app that other A4B users can use without embedding their Key ID and Key into my app directly.

Is there any way to create an Alexa for Business app that is authorized using an OAuth flow, like a standard Alexa skill?

I'm specifically looking to sync contacts using various A4B contacts APIs including the following:

Information on the API is here but I didn't see anything for OAuth here.

Some information on auth is here:

I'm using Go but appreciate any info.

图片转代码服务由CSDN问答提供 功能建议

我正在成功使用带有访问密钥ID和秘密访问密钥的Alexa for Business(A4B)API AlexaForBusinessFullAccess IAM策略。 但是,我有兴趣构建一个可供其他A4B用户使用的应用程序,而无需将其Key ID和Key直接嵌入到我的应用程序中。

是否可以创建Alexa for Business应用程序 是使用OAuth流程(例如标准Alexa技能)授权的吗?

我正在专门使用各种A4B联系人API来同步联系人,包括以下内容:

  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

1条回答 默认 最新

  • doumu4916 2019-02-26 18:38
    已采纳

    Just heard from an Amazon rep that OAuth is not available for the Alexa for Business API due to several reasons. The API must be accessed using IAM credentials or delegate IAM permissions.

    Currently, a way to do this is to build a configuration page where users can supply their Access Key ID and Secret Access Key in the app configuration from the IAM console with the requisite AlexaForBusinessFullAccess policy.

    It may also be possible to have the app enabled using the A4B console and create an IAM role from "Settings" > "AVS permissions" where the user needs to input the "AVS device maker's AWS account ID" and "Amazon ID".

    打赏 评论

相关推荐 更多相似问题