Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzureClient ¶
type AzureClient struct {
// contains filtered or unexported fields
}
AzureClient contains the Azure go-sdk Client.
func NewClient ¶
func NewClient(auth azure.Authorizer) *AzureClient
NewClient creates a new MSI client from auth info.
func (*AzureClient) Get ¶
func (ac *AzureClient) Get(ctx context.Context, resourceGroupName, name string) (msi.Identity, error)
Get returns a managed service identity.
func (*AzureClient) GetClientID ¶
GetClientID returns the client ID of a managed service identity, given its full URL identifier.
Click to show internal directories.
Click to hide internal directories.