cmdhelper

package
v0.0.1-alpha.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 5, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearCachedCredential

func ClearCachedCredential() error

func GetCachedCredentialAuthenticationRecord

func GetCachedCredentialAuthenticationRecord() (azidentity.AuthenticationRecord, error)

func NewAzurermClientWithCachedCredential

func NewAzurermClientWithCachedCredential() (*azurerm.Client, error)

func NewCachedCredential

func NewCachedCredential() (*credentials.Credential, error)

func NewGraphClientWithCachedCredential

func NewGraphClientWithCachedCredential() (*graph.Client, error)

func NewUncachedCredential

func NewUncachedCredential(credentialMethod credentials.CredentialMethod, tenantID string, clientID string, scopes []string) (*credentials.Credential, error)

func PIMAzureRoleAssignmentScheduleRequest

func PIMAzureRoleAssignmentScheduleRequest(ctx context.Context, azurermClient *azurerm.Client, azureRoleEligibleAssignment azurerm.AzureRoleEligibleAssignment, flagsDuration int, justification string) (string, error)

func PIMEntraRoleAssignmentScheduleRequest

func PIMEntraRoleAssignmentScheduleRequest(ctx context.Context, graphClient *graph.Client, flagsDuration int, entraRoleID string, justification string, entraRoleScopeID string) (string, error)

func PIMGroupAssignmentScheduleRequest

func PIMGroupAssignmentScheduleRequest(ctx context.Context, graphClient *graph.Client, flagsDuration int, groupID string, justification string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL