Giter Club home page Giter Club logo

power-platform-connector-via-apim's Introduction

Power Platform Custom Connector protected by Azure API Management

This provides sample codes how to protect Power Platform custom connectors through Azure API Management as the "transparent" proxy.

Further Reading

  • 한국어: TBD
  • English: TBD

Getting Started

There are two parts involved in this repository to implement the Power Platform custom connectors protected by Azure API Management.

  1. Provision and deploy apps
  2. Create custom connectors on Power Platform

Provision and Deploy Apps

  1. Log into Azure through Azure CLI.

    # Login to Azure
    az login
    
    # Login to Azure within GitHub Codespaces
    az login --use-device-code
  2. Log into GitHub through GitHub CLI.

    gh auth login
  3. Log into Azure Dev CLI.

    # Login to Azure
    azd login
    
    # Login to Azure within GitHub Codespaces
    azd login --use-device-code
  4. Run the following command to configure Azure Dev CLI environment. It will ask you to enter all necessary information.

    azd init
    • Choose Empty Template.
    • Enter the environment name that represents your resource name on Azure.
    • Choose your Azure subscription.
    • Choose your Azure resource location.
  5. Run the following command to configure Azure Dev CLI with GitHub Actions CI/CD pipeline. At the end of configuration, DO NOT COMMIT AND PUSH the local changes FOR NOW.

    azd pipeline config
  6. Overwrite azure.yaml with azure.sample.yaml. Then replace all {{AZURE_ENV_NAME}} with your actual environment name.

  7. Open .azure/{{AZURE_ENV_NAME}}/.env and add the following three lines. Make sure you replace {{GITHUB_PERSONAL_ACCESS_TOKEN}} and {{GITHUB_USERNAME}} with yours, respectively:

    GITHUB_REPOSITORY_NAME="power-platform-connector-via-apim"
    GITHUB_TOKEN="{{GITHUB_PERSONAL_ACCESS_TOKEN}}"
    GITHUB_USERNAME="{{GITHUB_USERNAME}}"
  8. Run the following command to provision and deploy the apps.

    azd provision

Custom Connectors on Power Platform

Power Platform custom connector currently supports three authentication/authorisation methods – API Key Auth, Basic Auth and OAuth2 Authorisation Code Auth. To apply each method, read the following documents:

Issues?

If you find any issue while using this repository, please create an issue on the issue page.

power-platform-connector-via-apim's People

Contributors

justinyoo avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.