Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithAdminCredentials

Method
📦 CommunityToolkit.Aspire.Hosting.Listmonk v13.6.1
func (ListmonkResource) 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

The IResourceBuilder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: