ServicePrincipal Interface

public interface ServicePrincipal extends ActiveDirectoryObject,HasInner,Updatable<ServicePrincipal.Update>

An immutable client-side representation of an Azure AD service principal.

Method Summary

Modifier and Type Method and Description
String applicationId()
Map<String, CertificateCredential> certificateCredentials()
Map<String, PasswordCredential> passwordCredentials()
Set<RoleAssignment> roleAssignments()
List<String> servicePrincipalNames()

Inherited Members

Method Details

applicationId

public String applicationId()

Returns:

app id.

certificateCredentials

public Map certificateCredentials()

Returns:

the mapping of certificate credentials from their names

passwordCredentials

public Map passwordCredentials()

Returns:

the mapping of password credentials from their names

roleAssignments

public Set roleAssignments()

Returns:

the mapping from scopes to role assignments

servicePrincipalNames

public List servicePrincipalNames()

Returns:

the list of names.

Applies to