Skip to main content
Version: 0.9.1

AzureAccountKeyCredentials

class AzureAccountKeyCredentials(
account_name: str | dict | Secret,
account_key: str | dict | Secret,
)

Bases: AzureCredentials

Categories: credentials

Credentials class to store the credentials needed to access an Azure using account key credentials (account name and account key).

Attributes: account_name (Secret): The Azure account name. account_key (Secret): The Azure account key.

Methods: to_dict() -> dict: Convert the AzureAccountNameKeyCredentials object to a dictionary

Initialize the AzureAccountNameKeyCredentials object.

Parameters

parameter
account_namestr | dict | Secret

The Azure account name.

parameter
account_keystr | dict | Secret

The Azure account key.

Properties

property
account_keySecret

The Azure account key.

property
account_nameSecret

The Azure account name.

Methods

to_dict
def to_dict() -> dict

Convert the S3AccessKeyCredentials object to a dictionary.

Returns:

dict: A dictionary representation of the S3AccessKeyCredentials object.