azure-auth-integrator

Azure Auth Integrator

Channel Revision Published Runs on
latest/edge 1 27 Aug 2025
Ubuntu 24.04
1/edge 10 13 Mar 2026
Ubuntu 24.04
juju deploy azure-auth-integrator --channel edge
Show information

Platform:

Ubuntu
24.04

charms.azure_auth_integrator.v0.azure_service_principal

Library to manage Azure Service Principal credentials.

The design of the interface and the library has been specified in: https://docs.google.com/document/d/1RvpKpL2nxwzFmPHX9NJGe1h3J0lPQ_YltXROIB1TicI/edit?tab=t.0.

This library contains a Requirer and a Provider for handling the relation and transmission of Azure Service Principal credentials.

It makes use of the data_interfaces Charmhub hosted-library in order to transmit sensitive information as secrets. The source code is located in https://github.com/canonical/data-platform-libs

The library also provides custom events to relay information about the status of the credentials.


class ServicePrincipalEvent

Description

Base class for Azure service principal events. None

class ServicePrincipalInfoRequestedEvent

Description

Event for requesting data from the interface. None

class ServicePrincipalInfoChangedEvent

Description

Event for changing data from the interface. None

class ServicePrincipalInfoGoneEvent

Description

Event for the removal of data from the interface. None

class AzureServicePrincipalRequirerEvents

Description

Events for the AzureServicePrincipalRequirer side implementation. None

class AzureServicePrincipalProviderEvents

Description

Events for the AzureServicePrincipalProvider side implementation. None

class AzureServicePrincipalProviderModel

Description

Data abstraction of the provider side of Azure service principal relation. None

class AzureServicePrincipalRequirer

Description

The requirer side of Azure service principal relation. None

Methods

AzureServicePrincipalRequirer. __init__( self , charm: CharmBase , relation_name: str , unique_key: str )

AzureServicePrincipalRequirer. get_azure_service_principal_info( self )

Description

Return the Azure service principal info as a dictionary. None

class AzureServicePrincipalProvider

Description

The provider side of Azure service principal relation. None

Methods

AzureServicePrincipalProvider. __init__( self , charm: CharmBase , relation_name: str , unique_key: str )

AzureServicePrincipalProvider. update_response( self , relation: Relation , response_data )

Description

Update the response to the requirer. None