ServicePrincipalConfiguration Class

Service Principal credentials configuration.

Inheritance
azure.ai.ml.entities._credentials.BaseTenantCredentials
ServicePrincipalConfiguration

Constructor

ServicePrincipalConfiguration(*, client_secret: str, **kwargs: str)

Parameters

Name Description
client_secret
Required
str

The client secret.

Keyword-Only Parameters

Name Description
kwargs

Additional arguments to pass to the parent class.

client_secret
Required

Methods

get
has_key
items
keys
update
values

get

get(key: Any, default: Any | None = None) -> Any

Parameters

Name Description
key
Required
default
Default value: None

has_key

has_key(k: Any) -> bool

Parameters

Name Description
k
Required

items

items() -> list

keys

keys() -> list

update

update(*args: Any, **kwargs: Any) -> None

values

values() -> list