Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzureCredentials ¶
type AzureCredentials struct { ClientId string `json:"clientId"` ClientSecret string `json:"clientSecret"` SubscriptionId string `json:"subscriptionId"` TenantId string `json:"tenantId"` }
Required model structure for Azure Credentials tools
type EntraIdService ¶
type EntraIdService interface { GetServicePrincipal( ctx context.Context, subscriptionId string, appIdOrName string, ) (*graphsdk.ServicePrincipal, error) CreateOrUpdateServicePrincipal( ctx context.Context, subscriptionId string, appIdOrName string, options CreateOrUpdateServicePrincipalOptions, ) (*graphsdk.ServicePrincipal, error) ResetPasswordCredentials( ctx context.Context, subscriptionId string, appId string, ) (*AzureCredentials, error) ApplyFederatedCredentials( ctx context.Context, subscriptionId string, clientId string, federatedCredentials []*graphsdk.FederatedIdentityCredential, ) ([]*graphsdk.FederatedIdentityCredential, error) }
EntraIdService provides actions on top of Azure Active Directory (AD)
func NewEntraIdService ¶
func NewEntraIdService( credentialProvider account.SubscriptionCredentialProvider, armClientOptions *arm.ClientOptions, coreClientOptions *azcore.ClientOptions, ) EntraIdService
Creates a new instance of the EntraIdService
Click to show internal directories.
Click to hide internal directories.