• Creates a set of OS-specific buildspec installation commands for setting up the given registries and associated credentials.

    Parameters

    • usage: DockerCredentialUsage
    • Optionalregistries: DockerCredential[]

      Registries to configure credentials for. It is an error to provide multiple registries for the same domain.

    • OptionalosType: OperatingSystemType | "both"

      (optional) Defaults to Linux.

    Returns string[]

    An array of commands to configure cdk-assets to use these credentials.