ServicePrincipal.DefinitionStages.WithCredential Interface

public interface WithCredential

A service principal definition allowing credentials to be specified.

Method Summary

Modifier and Type Method and Description
CertificateCredential.DefinitionStages.Blank<ServicePrincipal.DefinitionStages.WithCreate> defineCertificateCredential(String name)

Starts the definition of a certificate credential.

PasswordCredential.DefinitionStages.Blank<ServicePrincipal.DefinitionStages.WithCreate> definePasswordCredential(String name)

Starts the definition of a password credential.

Method Details

defineCertificateCredential

public CertificateCredential.DefinitionStages.Blank defineCertificateCredential(String name)

Starts the definition of a certificate credential.

Parameters:

name - the descriptive name of the certificate credential

Returns:

the first stage in certificate credential definition

definePasswordCredential

public PasswordCredential.DefinitionStages.Blank definePasswordCredential(String name)

Starts the definition of a password credential.

Parameters:

name - the descriptive name of the password credential

Returns:

the first stage in password credential definition

Applies to