Skip to content

An example of end to end authorization services using abac and pbac

License

Notifications You must be signed in to change notification settings

jwendl/authorization-service-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Authorization Service End to End Example

Authorization Service CI Total alerts

Introduction

This is an Azure Function application that creates an authorization service which utilizes ABAC and PBAC principals to grant access to various microservices.

The overall architecture includes APIM, Azure Functions, Azure SQL Database, Cosmos Database and Azure Active Directory components.

More information about each component exists as PolicyManager, CustomerData and OrderData

Architecture

Getting Started

  1. Clone the repository
  2. Open the ApiExampleProject\ApiExampleProject.sln file with Visual Studio
  3. Right click the API you'd wish to run locally (PolicyManager, CustomerData, OrderData) and select "Set as Startup Project"

Build and Test

Visual Studio

  1. Open the ApiExampleProject\ApiExampleProject.sln file with Visual Studio
  2. Right click the API you'd wish to run locally (PolicyManager, CustomerData, OrderData) and select "Set as Startup Project"

Using Bash or WSL

pushd src
dotnet build ApiExampleProject.sln
cd src/Authorization/PolicyManager/
dotnet run PolicyManager
pushd 

popd
popd

Visual Studio Code

TBD

Contributing

Contributing is easy 🙏. Look for an issue that is tagged as "good first issue", fork this repo, make your contributions and then create a PR. See the Guide for more information.

About

An example of end to end authorization services using abac and pbac

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •