az

package
v0.0.0-...-847e9cf Latest Latest
Warning

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

Go to latest
Published: May 27, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateServicePrincipal

func CreateServicePrincipal(pass, subscriptionID, tenantID, name string) (*graphrbac.Application, *graphrbac.ServicePrincipal, error)

CreateServicePrincipal function is used to create Service Principal, returns Service Principal and related App

func GeneratePassword

func GeneratePassword(length, numDigits, numSymbols int) (string, error)

GeneratePassword generates Service Principal password

Types

type Credentials

type Credentials struct {
	AppID          string
	Password       string
	Tenant         string
	SubscriptionID string
}

Credentials structure is used to format display information for Service Principal

Jump to

Keyboard shortcuts

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