Interface ServicePrincipal.UpdateStages.WithCredential
- All Known Subinterfaces:
ServicePrincipal.Update
- Enclosing interface:
- ServicePrincipal.UpdateStages
public static interface ServicePrincipal.UpdateStages.WithCredential
A service principal update allowing credentials to be specified.
-
Method Summary
Modifier and TypeMethodDescriptionStarts the definition of a certificate credential.Starts the definition of a password credential.withoutCredential
(String name) Removes a credential.
-
Method Details
-
defineCertificateCredential
CertificateCredential.UpdateDefinitionStages.Blank<ServicePrincipal.Update> 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 update
-
definePasswordCredential
PasswordCredential.UpdateDefinitionStages.Blank<ServicePrincipal.Update> 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 update
-
withoutCredential
Removes a credential.- Parameters:
name
- the name of the credential- Returns:
- the next stage of the service principal update
-