withAdminCredentials

Method
📦 CommunityToolkit.Aspire.Hosting.Listmonk v13.6.1
interface ListmonkResource {
// ... omitted for brevity
withAdminCredentials(
username: string,
password: ParameterResource): ListmonkResource;
}

Signature

methodwithAdminCredentialsbuilder
Configures the first-run listmonk Super Admin credentials.
withAdminCredentials(
username: string,
password: ParameterResource): ListmonkResource
usernamestringThe value for `LISTMONK_ADMIN_USER`.
passwordParameterResourceThe parameter resource used for `LISTMONK_ADMIN_PASSWORD`.
ListmonkResource

Applies to

This method applies to the following types: