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<Service |
defineCertificateCredential(String name)
Starts the definition of a certificate credential. |
PasswordCredential.DefinitionStages.Blank<Service |
definePasswordCredential(String name)
Starts the definition of a password credential. |
Method Details
defineCertificateCredential
public CertificateCredential.DefinitionStages.Blank
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
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java