Interface ServicePrincipal.DefinitionStages.WithCredential
- All Known Subinterfaces:
ServicePrincipal.Definition
,ServicePrincipal.DefinitionStages.WithCreate
- Enclosing interface:
- ServicePrincipal.DefinitionStages
public static interface ServicePrincipal.DefinitionStages.WithCredential
A service principal definition allowing credentials to be specified.
-
Method Summary
Modifier and TypeMethodDescriptionStarts the definition of a certificate credential.Starts the definition of a password credential.
-
Method Details
-
defineCertificateCredential
CertificateCredential.DefinitionStages.Blank<ServicePrincipal.DefinitionStages.WithCreate> 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
PasswordCredential.DefinitionStages.Blank<ServicePrincipal.DefinitionStages.WithCreate> 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
-