Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Custom API - Is there no way to set secure/unsecure configuration?

(0) ShareShare
ReportReport
Posted on by 90

When I register a Custom API in PowerApps/Dataverse and I set my plugin type, a step is automatically set which you can view in the plugins registration tool. However, this step is read only, so I can not update it with the secure or unsecure configuration. 

I have not found a solution for this.

Is there no way to pass configuration to a Custom API?

Regards.

Marius Solend

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,325 Most Valuable Professional on at
    RE: Custom API - Is there no way to set secure/unsecure configuration?

    Marius,

    Then, you can create a custom "settings" entity, store your secrets over there and limit the privileges of users to read the data from that entity.

  • Marius Solend Profile Picture
    Marius Solend 90 on at
    RE: Custom API - Is there no way to set secure/unsecure configuration?

    Hi Andrew. Thank you for your reply.

    I have considered env. variables, however, they are not secure as the user has permissions to read them through the web api. The users can not read unsecure/secure config.

    So if my configuration is to contain api keys, passwords and the like, then I need to find another approach.  

    Thank you.

    Regards.

    Marius Solend

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,325 Most Valuable Professional on at
    RE: Custom API - Is there no way to set secure/unsecure configuration?

    Hello Marius,

    The concept of the Custom API doesn't require the creation of the steps themselves.

    I would recommend using some alternate configuration approach, for example, Environment Variables that can be queried using API.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,735 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,466 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans