Skip to content

Proof-of-concept Azure functions written in PowerShell that demonstrate creation and validation of a JSON Web Token via the PSJsonWebToken PowerShell module.

License

Notifications You must be signed in to change notification settings

anthonyg-1/PSJwtMicroservices-azure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PSJwtMicroservices-azure

Proof-of-concept Azure functions written in PowerShell that demonstrate creation and validation of JSON Web Tokens as well as JSON Web Keys via the PSJsonWebToken PowerShell module.

Requirements

An Azure function app and the PSJsonWebToken PowerShell module.

Description

The three PowerShell scripts in this repository represent three different Azure functions. Brief explanation of each below.

getjwt

Takes an API key and if valid, returns a JSON Web Token. The API key, private key to sign the JWT and claims for the token should be in Azure Key Vault.

validatejwt

Takes a JWT and validates it against a JWK set URI found in the configuration settings for the Azure function app.

jwkaggregationproxy

Looks to the configuration settings for a JWK set URI and adds our own JWK to this collection. This is potentially useful in the case where a service provider can only validate JSON Web Tokens against a single JSON Web Key set URI.

About

Proof-of-concept Azure functions written in PowerShell that demonstrate creation and validation of a JSON Web Token via the PSJsonWebToken PowerShell module.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published