[go: up one dir, main page]

Skip to content

PowerShell module to manage secrets from vaults, App Registrations and more in Azure

Notifications You must be signed in to change notification settings

4renwald/Az.Secrets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Az.Secrets


PowerShell module to automate the management of expiring App Registrations and Keyvault secrets in Azure

Requirements :

  • PowerShell Core version >= 7.3.9
  • Microsoft.Graph
  • Az.KeyVault
  • Az.Accounts

The following modules are optional but recommended to allow full usage of the module :

To send email notifications

  • Send-MailKitMessage

To use a local vault for Azure authentication:

  • Microsoft.PowerShell.SecretManagement
  • Microsoft.PowerShell.SecretStore

Installation

To install all requirements:

Install-Module @("Microsoft.Graph";"Microsoft.PowerShell.SecretManagement";"Microsoft.PowerShell.SecretStore";"Send-MailKitMessage";“Az.Accounts”;”Az.KeyVault”)

Install Az.Secrets to one of your PSModulePath folder.

To check valid paths : $env:PSModulePath -split ';'

Usage and Example

Import the module: Import-Module Az.Secrets

Here's an example of a query to get the expiring secrets of specified applications and sending notifications to the recipients inside $RecipientList variable :

Console Output


Email Notification


For all functions parameters and examples, read Az.Secrets.psm1.

About

PowerShell module to manage secrets from vaults, App Registrations and more in Azure

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published