Skip to content

Simple utility to get access tokens from Azure EntraId.

Notifications You must be signed in to change notification settings

filipemcg/entra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Entra

Simple utility to get access tokens from Azure EntraId.

How to use

The program assumes that you have a directory ~/.entra with a file credentials Credentials should have the following structure:

[myapp]
tenantId=<azuread-tenant>
clientId=<app-registration-clientid>
clientSecret=<app-registration-secretkey>
scope=<app-registration-scope>

It's recommended to build the program and add it to your user bin directory (e.g.: ~/.local/bin/).

Build with go build -o ~/.local/bin/entra ./src

You can then get the access token using the command:

entra --app myapp

About

Simple utility to get access tokens from Azure EntraId.

Resources

Stars

Watchers

Forks